Skip to content

Commit

Permalink
[feature/PI-549-flaky_ci] always do checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
jaklinger committed Oct 10, 2024
1 parent 7718325 commit a89e28c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ jobs:
needs: [get-branch-from-workflow-file, build]
runs-on: [self-hosted, ci]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ needs.get-branch-from-workflow-file.outputs.branch_name }}
- uses: ./.github/actions/terraform/
with:
command: init
Expand All @@ -87,6 +90,9 @@ jobs:
needs: [get-branch-from-workflow-file, terraform--init]
runs-on: [self-hosted, ci]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ needs.get-branch-from-workflow-file.outputs.branch_name }}
- uses: ./.github/actions/terraform/
with:
command: plan
Expand All @@ -102,6 +108,9 @@ jobs:
environment: ${{ inputs.account }}
runs-on: [self-hosted, ci]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ needs.get-branch-from-workflow-file.outputs.branch_name }}
- uses: ./.github/actions/terraform/
with:
command: apply
Expand All @@ -116,6 +125,9 @@ jobs:
needs: [get-branch-from-workflow-file, terraform--apply]
runs-on: [self-hosted, ci]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ needs.get-branch-from-workflow-file.outputs.branch_name }}
- uses: ./.github/actions/make/
if: ${{ env.SCOPE == 'per_workspace'}}
with:
Expand All @@ -137,6 +149,9 @@ jobs:
needs: [get-branch-from-workflow-file, apigee--deploy]
runs-on: [self-hosted, ci]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ needs.get-branch-from-workflow-file.outputs.branch_name }}
- if: ${{ env.ACCOUNT != 'mgmt'}}
uses: ./.github/actions/make/
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,4 @@ cpm.cdx.json
# test output files
test_failure.json
test_success_*.json
pyrightconfig.json

0 comments on commit a89e28c

Please sign in to comment.