Skip to content

Commit

Permalink
[PRMP-639] - set max parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
NogaNHS committed Aug 9, 2024
1 parent e5f7ffd commit 9522cba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/PR-terraform-plan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ jobs:
terraform_plan:
strategy:
fail-fast: false
max-parallel: 1
matrix:
environment: [ dev, prod ]
terraform_stack: [container-repositories , base-networking, ecs-cluster]
uses: ./.github/workflows/base-terraform-plan-and-apply.yml
with:
environment: ${{ matrix.environment }}
working-directory: "stacks/${{ matrix.terraform_stack }}/terraform"
working-directory: "./stacks/${{ matrix.terraform_stack }}/terraform"
secrets: inherit


2 changes: 1 addition & 1 deletion .github/workflows/base-gp-registrations-mi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
issue_number: context.issue.number,
});
const botComment = comments.find(comment => {
return comment.user.type === 'Bot' && comment.body.includes('Report for environment: ${{ inputs.environment }}')
return comment.user.type === 'Bot' && comment.body.includes('Report for gp-registrations-mi environment: ${{ inputs.environment }}')
});
// 2. Prepare format of the comment
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/base-terraform-plan-and-apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4


- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down Expand Up @@ -84,7 +83,7 @@ jobs:
issue_number: context.issue.number,
});
const botComment = comments.find(comment => {
return comment.user.type === 'Bot' && comment.body.includes('Report for environment: ${{ inputs.environment }}')
return comment.user.type === 'Bot' && comment.body.includes('Report for ${{inputs.working-directory}} environment: ${{ inputs.environment }} ')
});
// 2. Prepare format of the comment
Expand Down

0 comments on commit 9522cba

Please sign in to comment.