File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2929 with :
3030 # TODO might want a testing specific testing role
3131 role-to-assume : ${{ secrets.IAM_ROLE_ECR_HOLDING_ACCOUNT_READ_WRITE }}
32- aws-region : ${{ var .AWS_REGION }}
32+ aws-region : ${{ vars .AWS_REGION }}
3333 mask-aws-account-id : true
3434
3535 - name : Build
4040 with :
4141 env :
4242 NHS_ENVIRONMENT : dev
43- AWS_REGION : ${{ var .AWS_REGION }}
44- AWS_DEFAULT_REGION : ${{ var .AWS_REGION }}
43+ AWS_REGION : ${{ vars .AWS_REGION }}
44+ AWS_DEFAULT_REGION : ${{ vars .AWS_REGION }}
4545 run : |
4646 ./gradlew test --tests "uk.nhs.prm.e2etests.test.RepositoryE2ETest"
Original file line number Diff line number Diff line change 5050 uses : aws-actions/configure-aws-credentials@v4
5151 with :
5252 role-to-assume : ${{ secrets.IAM_ROLE_ECR_HOLDING_ACCOUNT_READ_WRITE }}
53- aws-region : ${{ var .AWS_REGION }}
53+ aws-region : ${{ vars .AWS_REGION }}
5454 mask-aws-account-id : true
5555
5656 - name : Login to Amazon ECR
9393 uses : aws-actions/configure-aws-credentials@v4
9494 with :
9595 role-to-assume : ${{ secrets.IAM_ROLE_ECR_HOLDING_ACCOUNT_READ_WRITE }}
96- aws-region : ${{ var .AWS_REGION }}
96+ aws-region : ${{ vars .AWS_REGION }}
9797 mask-aws-account-id : true
9898
9999 - name : Deploy Infrastructure
Original file line number Diff line number Diff line change 9898 # https://docs.aws.amazon.com/cli/latest/reference/dynamodb/create-table.html
9999 - name : Create AWS resources
100100 run : |
101- awslocal dynamodb create-table --region ${{ var .AWS_REGION }} --cli-input-json file://scripts/local-test-db-scheme.json --no-cli-page
102- awslocal s3 mb s3://$S3_BUCKET_NAME --region ${{ var .AWS_REGION }}}
101+ awslocal dynamodb create-table --region ${{ vars .AWS_REGION }} --cli-input-json file://scripts/local-test-db-scheme.json --no-cli-page
102+ awslocal s3 mb s3://$S3_BUCKET_NAME --region ${{ vars .AWS_REGION }}}
103103
104104 - name : Run Integration Test
105105 run : npm run test:integration
You can’t perform that action at this time.
0 commit comments