From 6e78caddc50211aeee24317f01140129e02ef05d Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Thu, 20 Mar 2025 11:46:01 -0700 Subject: [PATCH 1/2] ugh revert and fix --- .github/workflows/restage-apps.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/restage-apps.yml b/.github/workflows/restage-apps.yml index 66e70bc39..d06666244 100644 --- a/.github/workflows/restage-apps.yml +++ b/.github/workflows/restage-apps.yml @@ -20,7 +20,7 @@ jobs: steps: - name: get pwd shell: bash - run: echo "$PWD" >> "$GITHUB_OUTPUT" + run: echo "$PWD" - name: Restage ${{matrix.app}} uses: cloud-gov/cg-cli-tools@main with: From 7fda4404632d72c144139290e9825163e4912e4c Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Thu, 20 Mar 2025 11:57:46 -0700 Subject: [PATCH 2/2] ugh revert and fix --- .github/workflows/restage-apps.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/restage-apps.yml b/.github/workflows/restage-apps.yml index d06666244..07acd5fb7 100644 --- a/.github/workflows/restage-apps.yml +++ b/.github/workflows/restage-apps.yml @@ -18,19 +18,16 @@ jobs: matrix: app: ["api", "admin"] steps: - - name: get pwd - shell: bash - run: echo "$PWD" - name: Restage ${{matrix.app}} uses: cloud-gov/cg-cli-tools@main with: cf_username: ${{ secrets.CLOUDGOV_USERNAME }} cf_password: ${{ secrets.CLOUDGOV_PASSWORD }} + DANGEROUS_SALT: $${{ secrets.DANGEROUS_SALT }} cf_org: gsa-tts-benefits-studio cf_space: notify-${{ inputs.environment }} command: | - ls - ls /home/runner/work/notifications-api/notifications-api/manifest.yml && cf push notify-${{matrix.app}}-${{inputs.environment}} -f /home/runner/work/notifications-api/notifications-api/manifest.yml + cf set-env notify-${{matrix.app}}-${{inputs.environment}} DANGEROUS_SALT "$DANGEROUS_SALT" cf restage --strategy rolling notify-${{matrix.app}}-${{inputs.environment}} - name: Restage ${{matrix.app}} egress uses: cloud-gov/cg-cli-tools@main