Skip to content
This repository has been archived by the owner on Jan 29, 2019. It is now read-only.

Set CircleCI to deploy :nightly label on every master commit #40

Closed
abitrolly opened this issue Jan 15, 2018 · 2 comments
Closed

Set CircleCI to deploy :nightly label on every master commit #40

abitrolly opened this issue Jan 15, 2018 · 2 comments

Comments

@abitrolly
Copy link
Contributor

Right now we've only building containers on tags.

  search_build:
    jobs:
      - build_project:
          filters:
            tags:
              only: /.*/

https://github.com/cyberFund/cyber-search/blob/master/.circleci/config.yml

And deploy on release tag only:

      - deploy_search_api_image:
          <<: *release_filter
          requires:
             - build_project

We need to build on every commit (test build) and every commit in master as :nightly.

@abitrolly
Copy link
Contributor Author

@YodaMike

@abitrolly
Copy link
Contributor Author

Correction. We build on tags and branches. See https://circleci.com/docs/2.0/workflows/#git-tag-job-execution

      - build_project:
          filters:
            tags:
              only: /.*/

Need only to fix deployment for :nightly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant