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

USAGOV-2042 - Invoke CircleCI cron deployment to tools space from prod workflow, rather than dr workflow #2048

Merged
merged 3 commits into from
Nov 7, 2024
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
37 changes: 7 additions & 30 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ jobs:
- deploy-cloudgov-cron:
envname: prod

deploy-to-cloudgov-dr-cron-tools:
deploy-to-cloudgov-prod-cron-tools:
machine:
image: ubuntu-2204:current
environment:
Expand All @@ -634,15 +634,6 @@ jobs:
- deploy-cloudgov-cron:
envname: tools

deploy-to-cloudgov-dr-cron-shared-egress:
machine:
image: ubuntu-2204:current
environment:
BASH_ENV: /home/circleci/project/env.local
steps:
- deploy-cloudgov-cron:
envname: shared-egress

workflows:
version: 2

Expand Down Expand Up @@ -928,30 +919,16 @@ workflows:
branches:
only: prod

- really-approve-dr-deployment-cron-tools:
type: approval
requires:
- approve-dr-deployment-cron
filters:
branches:
only: dr
- deploy-to-cloudgov-dr-cron-tools:
requires:
- really-approve-dr-deployment-cron-tools
filters:
branches:
only: dr

- really-approve-dr-deployment-cron-shared-egress:
- really-approve-prod-deployment-cron-tools:
type: approval
requires:
- approve-dr-deployment-cron
- approve-prod-deployment-cron
filters:
branches:
only: dr
- deploy-to-cloudgov-dr-cron-shared-egress:
only: prod
- deploy-to-cloudgov-prod-cron-tools:
requires:
- really-approve-dr-deployment-cron-shared-egress
- really-approve-prod-deployment-cron-tools
filters:
branches:
only: dr
only: prod
Loading