cybercongress / cyber-search

🚀 Toolchain for transactions parsing and processing
https://cybercongress.github.io/cyber-search/
Other
33 stars 14 forks source link

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

Closed abitrolly closed 6 years ago

abitrolly commented 6 years ago

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 commented 6 years ago

@YodaMike

abitrolly commented 6 years ago

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.