Skip to content

Commit

Permalink
Merge pull request #663 from communitiesuk/bau/shorten-workflow-job-n…
Browse files Browse the repository at this point in the history
…ames

BAU: Shorten workflow job names for readability
  • Loading branch information
MarcUsher authored Aug 7, 2024
2 parents 8b7bfe9 + ccfa520 commit 72d71ce
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/aws_copilot_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ on:
required: true

jobs:
copilot_deploy:
deploy:
name: ${{ matrix.deployment }}
strategy:
matrix:
include:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/deploy_combined_service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
owner: ${{ github.repository_owner }}
application: ${{ github.event.repository.name }}

copilot_deploy:
deploy:
name: Deploy to ${{ inputs.environment || 'test' }}
needs: [ paketo_build ]
concurrency:
group: deploy-${{ inputs.environment || 'test' }}
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/deployment_cd_test_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
owner: ${{ github.repository_owner }}
application: ${{ github.event.repository.name }}

copilot_test_deploy:
test_deploy:
name: Deploy to test
needs: [ paketo_build ]
concurrency:
group: deploy-test
Expand All @@ -28,9 +29,10 @@ jobs:
image_location: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:${{ github.sha }}
secrets: inherit

copilot_prod_deploy:
prod_deploy:
if: ${{ github.ref_name == 'main' }}
needs: [ paketo_build, copilot_test_deploy ]
name: Deploy to prod
needs: [ paketo_build, test_deploy ]
concurrency:
group: deploy-prod
cancel-in-progress: false
Expand Down

0 comments on commit 72d71ce

Please sign in to comment.