Skip to content

Commit

Permalink
USAGOV-2042-cci-dr-to-prod: 1. Remove shared-egress deploy for now. 2…
Browse files Browse the repository at this point in the history
…. Invoke tools space cron deployment from prod workflow, not dr workflow.
  • Loading branch information
arpage committed Oct 30, 2024
1 parent 53c27c7 commit 23c46ed
Showing 1 changed file with 7 additions and 30 deletions.
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

0 comments on commit 23c46ed

Please sign in to comment.