Skip to content

Commit

Permalink
Merge pull request #1992 from GSA/change-deploytools-demoprod
Browse files Browse the repository at this point in the history
Switch out deprecated tools in demo/prod deploy scripts
  • Loading branch information
ccostino authored Oct 5, 2024
2 parents fbdc01b + 371eb58 commit fbba1a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: poetry export --without-hashes --format=requirements.txt > requirements.txt

- name: Deploy to cloud.gov
uses: 18f/cg-deploy-action@main
uses: cloud-gov/cg-cli-tools@main
env:
DANGEROUS_SALT: ${{ secrets.DANGEROUS_SALT }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
Expand All @@ -70,6 +70,7 @@ jobs:
cf_org: gsa-tts-benefits-studio
cf_space: notify-demo
push_arguments: >-
push -f manifest.yml
--vars-file deploy-config/demo.yml
--var DANGEROUS_SALT="$DANGEROUS_SALT"
--var SECRET_KEY="$SECRET_KEY"
Expand All @@ -87,6 +88,7 @@ jobs:
--var LOGIN_DOT_GOV_SIGNOUT_REDIRECT="$LOGIN_DOT_GOV_SIGNOUT_REDIRECT"
--var LOGIN_DOT_GOV_INITIAL_SIGNIN_URL="$LOGIN_DOT_GOV_INITIAL_SIGNIN_URL"
--var LOGIN_DOT_GOV_CERTS_URL="$LOGIN_DOT_GOV_CERTS_URL"
--strategy rolling
- name: Check for changes to egress config
id: changed-egress-config
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: poetry export --without-hashes --format=requirements.txt > requirements.txt

- name: Deploy to cloud.gov
uses: 18f/cg-deploy-action@main
uses: cloud-gov/cg-cli-tools@main
env:
DANGEROUS_SALT: ${{ secrets.DANGEROUS_SALT }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
Expand All @@ -70,6 +70,7 @@ jobs:
cf_org: gsa-tts-benefits-studio
cf_space: notify-production
push_arguments: >-
push -f manifest.yml
--vars-file deploy-config/production.yml
--var DANGEROUS_SALT="$DANGEROUS_SALT"
--var SECRET_KEY="$SECRET_KEY"
Expand All @@ -87,6 +88,7 @@ jobs:
--var LOGIN_DOT_GOV_SIGNOUT_REDIRECT="$LOGIN_DOT_GOV_SIGNOUT_REDIRECT"
--var LOGIN_DOT_GOV_INITIAL_SIGNIN_URL="$LOGIN_DOT_GOV_INITIAL_SIGNIN_URL"
--var LOGIN_DOT_GOV_CERTS_URL="$LOGIN_DOT_GOV_CERTS_URL"
--strategy rolling
- name: Check for changes to egress config
id: changed-egress-config
Expand Down

0 comments on commit fbba1a7

Please sign in to comment.