Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
ci: increase the default apply timeout (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
FoSix authored Oct 27, 2023
1 parent f4efa9c commit 4914c10
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/apply-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
contents: read
pull-requests: write
id-token: write
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/test_command.yml@v2.2
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/test_command.yml@v2.3
secrets: inherit
with:
cloud: azure
Expand All @@ -50,3 +50,4 @@ jobs:
comment-id: ${{ inputs.comment-id }}
branch: ${{ inputs.branch }}
terratest_action: Apply
apply_timeout: 60
2 changes: 1 addition & 1 deletion .github/workflows/chatops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
app_id: ${{ secrets.CHATOPS_APP_ID }}
private_key: ${{ secrets.CHATOPS_APP_PRIVATE_KEY }}
installation_retrieval_mode: id
installation_retrieval_payload: ${{ secrets.CHATOPS_APP_INSTALLATION_ID }}
installation_retrieval_payload: ${{ secrets.CHATOPS_APP_INSTALLATION_ID }}

- name: "dispatch test command on branch: ${{ steps.pr.outputs.result }}"
id: scd
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/idempotence-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
contents: read
pull-requests: write
id-token: write
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/test_command.yml@v2.2
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/test_command.yml@v2.3
secrets: inherit
with:
cloud: azure
Expand All @@ -50,3 +50,4 @@ jobs:
comment-id: ${{ inputs.comment-id }}
branch: ${{ inputs.branch }}
terratest_action: Idempotence
apply_timeout: 60
2 changes: 1 addition & 1 deletion .github/workflows/lint_pr_title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ on:
jobs:
lint_pr_title:
name: Lint PR
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/lint_pr_title.yml@v2
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/lint_pr_title.yml@v2.3
2 changes: 1 addition & 1 deletion .github/workflows/plan-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
contents: read
pull-requests: write
id-token: write
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/test_command.yml@v2.2
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/test_command.yml@v2.3
secrets: inherit
with:
cloud: azure
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
jobs:
pr_ci_wrkflw:
name: Run CI
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/pr_ci.yml@v2.2
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/pr_ci.yml@v2.3
secrets: inherit
if: github.actor != 'dependabot[bot]'
with:
Expand All @@ -31,3 +31,4 @@ jobs:
validate_max_parallel: 20
test_max_parallel: 10
terratest_action: Plan # keep in mind that this has to start with capital letter
apply_timeout: 60
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ on:
jobs:
update:
name: "Update Pre-Commit dependencies"
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/_pre-commit-update.yml@v2.2
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/_pre-commit-update.yml@v2.3

pre-commit:
name: Run Pre-Commit with the udpated config
needs: [update]
if: needs.update.outputs.pr_operation == 'created' || needs.update.outputs.pr_operation == 'updated'
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/_pre_commit.yml@v2.2
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/_pre_commit.yml@v2.3
with:
pre-commit-hooks: terraform_fmt terraform_docs terraform_tflint checkov
checkout-branch: pre-commit-dependencies-update
Expand All @@ -28,7 +28,7 @@ jobs:
name: Give comment on the PR if pre-commit failed
needs: [pre-commit, update]
if: always() && (needs.pre-commit.result == 'failure' || needs.pre-commit.result == 'success')
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/_comment_pr.yml@v2.2
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/_comment_pr.yml@v2.3
with:
pr_number: ${{ needs.update.outputs.pr_number }}
job_result: ${{ needs.pre-commit.result }}
5 changes: 3 additions & 2 deletions .github/workflows/release_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ concurrency: release
jobs:
release_wrkflw:
name: Do release
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/release_ci.yml@v2.2
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/release_ci.yml@v2.3
secrets: inherit
with:
cloud: azure
validate_max_parallel: 20
test_max_parallel: 5
terratest_action: Idempotence # keep in mind that this has to start with capital letter
terratest_action: Idempotence # keep in mind that this has to start with capital letter
apply_timeout: 60
2 changes: 1 addition & 1 deletion .github/workflows/sca-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
needs: init
permissions:
contents: read
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/_pre_commit.yml@v2.2
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/_pre_commit.yml@v2.3
secrets: inherit
with:
pre-commit-hooks: terraform_fmt terraform_docs terraform_tflint checkov
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
contents: read
pull-requests: write
id-token: write
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/test_command.yml@v2.2
uses: PaloAltoNetworks/terraform-modules-vmseries-ci-workflows/.github/workflows/test_command.yml@v2.3
secrets: inherit
with:
cloud: azure
Expand Down

0 comments on commit 4914c10

Please sign in to comment.