Skip to content

Commit d2005ec

Browse files
VIA-347 AS/SB Modify GH workflows to deploy to test env
1 parent 8ca00d7 commit d2005ec

38 files changed

+2
-2
lines changed

.github/workflows/cicd-3-deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
secrets: inherit
6969
acceptance-stage:
7070
name: "Acceptance stage"
71-
if: ${{ github.event.inputs.environment != 'prod' }}
71+
if: ${{ contains(fromJSON('["dev","preprod"]'), github.event.inputs.environment) }}
7272
needs: [metadata, deploy-stage]
7373
uses: ./.github/workflows/stage-5-acceptance.yaml
7474
with:

.github/workflows/stage-4-deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
echo "Artefact path: $lambda_s3_path"
6060
aws s3 cp "$lambda_s3_path" .
6161
- name: "Download packages from ${{ inputs.environment}} S3 Releases bucket"
62-
if: ${{ inputs.environment == 'preprod' || inputs.environment == 'prod' }}
62+
if: ${{ contains(fromJSON('["prod", "preprod", "test"]'), inputs.environment) }}
6363
run: |
6464
AWS_S3_RELEASE_BUCKET="vita-${{ secrets.AWS_ACCOUNT_ID }}-releases-${{ inputs.environment }}"
6565
app_s3_path="s3://${AWS_S3_RELEASE_BUCKET}/tag/${{ steps.tag-or-sha.outputs.value }}/open-next.zip"
File renamed without changes.

infrastructure/environments/perf/fake-api/data/apim/token.json renamed to infrastructure/environments/test/fake-api/data/apim/token.json

File renamed without changes.

infrastructure/environments/perf/fake-api/data/elid/9436793375.json renamed to infrastructure/environments/test/fake-api/data/elid/9436793375.json

File renamed without changes.

infrastructure/environments/perf/fake-api/data/elid/9450114080.json renamed to infrastructure/environments/test/fake-api/data/elid/9450114080.json

File renamed without changes.

infrastructure/environments/perf/fake-api/data/elid/9451019030.json renamed to infrastructure/environments/test/fake-api/data/elid/9451019030.json

File renamed without changes.

infrastructure/environments/perf/fake-api/data/elid/9466447939.json renamed to infrastructure/environments/test/fake-api/data/elid/9466447939.json

File renamed without changes.

0 commit comments

Comments
 (0)