Browse Source

Ensure aws_deploy has different concurrency groups for different review apps (#2079)

pull/2076/head
Rachael Booth 1 year ago committed by GitHub
parent
commit
18b50fe259
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      .github/workflows/aws_deploy.yml
  2. 1
      .github/workflows/review_pipeline.yml

6
.github/workflows/aws_deploy.yml

@ -12,6 +12,10 @@ on:
aws_task_prefix: aws_task_prefix:
required: true required: true
type: string type: string
concurrency_tag:
required: false
type: string
default: ""
environment: environment:
required: true required: true
type: string type: string
@ -20,7 +24,7 @@ on:
type: string type: string
concurrency: concurrency:
group: deploy-${{ inputs.environment }} group: deploy-${{ inputs.environment }}${{ inputs.concurrency_tag }}
cancel-in-progress: true cancel-in-progress: true
env: env:

1
.github/workflows/review_pipeline.yml

@ -33,6 +33,7 @@ jobs:
aws_account_id: 837698168072 aws_account_id: 837698168072
aws_role_prefix: core-dev aws_role_prefix: core-dev
aws_task_prefix: core-review-${{ github.event.pull_request.number }} aws_task_prefix: core-review-${{ github.event.pull_request.number }}
concurrency_tag: ${{ github.event.pull_request.number }}
environment: review environment: review
permissions: permissions:
id-token: write id-token: write

Loading…
Cancel
Save