Skip to content

Commit 9394134

Browse files
authored
Merge pull request #1614 from GSA/restage_app_work
revert to using cf push
2 parents be79c98 + a14b95b commit 9394134

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

.github/workflows/restage-apps.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,14 @@ jobs:
2525
cf_password: ${{ secrets.CLOUDGOV_PASSWORD }}
2626
cf_org: gsa-tts-benefits-studio
2727
cf_space: notify-${{ inputs.environment }}
28-
cf_command: >-
29-
push -f manifest.yml
30-
--vars-file deploy-config/${{inputs.environment}}.yml
31-
--var DANGEROUS_SALT="$DANGEROUS_SALT"
32-
--var SECRET_KEY="$SECRET_KEY"
33-
--var ADMIN_CLIENT_SECRET="$ADMIN_CLIENT_SECRET"
34-
--var NEW_RELIC_LICENSE_KEY="$NEW_RELIC_LICENSE_KEY"
35-
--var NOTIFY_E2E_TEST_EMAIL="$NOTIFY_E2E_TEST_EMAIL"
36-
--var NOTIFY_E2E_TEST_PASSWORD="$NOTIFY_E2E_TEST_PASSWORD"
37-
--var LOGIN_DOT_GOV_REGISTRATION_URL="$LOGIN_DOT_GOV_REGISTRATION_URL"
38-
--strategy rolling
39-
command: "cf restage --strategy rolling notify-${{matrix.app}}-${{inputs.environment}}"
28+
command: |
29+
cf push notify-${{matrix.app}}-${{inputs.environment}} -f deploy-config/${{inputs.environment}}.yml --no-start
30+
cf restage --strategy rolling notify-${{matrix.app}}-${{inputs.environment}}
4031
- name: Restage ${{matrix.app}} egress
4132
uses: cloud-gov/cg-cli-tools@main
4233
with:
4334
cf_username: ${{ secrets.CLOUDGOV_USERNAME }}
4435
cf_password: ${{ secrets.CLOUDGOV_PASSWORD }}
4536
cf_org: gsa-tts-benefits-studio
4637
cf_space: notify-${{ inputs.environment }}-egress
47-
48-
command: |
49-
cf restage --strategy rolling egress-proxy-notify-${{matrix.app}}-${{inputs.environment}}
38+
command: "cf restage --strategy rolling egress-proxy-notify-${{matrix.app}}-${{inputs.environment}}"

0 commit comments

Comments
 (0)