Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploying to dev terraform cluster should not happen from non-main branch builds in CI #459

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,14 +277,16 @@ workflows:
ignore: main
tags:
ignore: /.*/
- deploy:
name: deploy-development-cluster
requires:
- build-linux-amd64
rollout_stage: development
GOOGLE_APPLICATION_CREDENTIALS_VARIABLE: "GOOGLE_APPLICATION_DEVELOPMENT_CREDENTIALS_B64"
filters:
<<: *filters_dev_branches # this is calling the previously set yaml anchor
## deploying to dev terraform cluster should not happen from non-main branch builds in CI
## See https://github.com/filecoin-project/bacalhau/issues/434
# - deploy:
# name: deploy-development-cluster
# requires:
# - build-linux-amd64
# rollout_stage: development
# GOOGLE_APPLICATION_CREDENTIALS_VARIABLE: "GOOGLE_APPLICATION_DEVELOPMENT_CREDENTIALS_B64"
# filters:
# <<: *filters_dev_branches # this is calling the previously set yaml anchor

main_only: # This workflow will only run on 'main' and will not run on tags
jobs:
Expand Down