File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 2020 - ' kayobe-env'
2121 - ' requirements.txt'
2222 - ' terraform/aio/**'
23+ check-tags :
24+ - ' .github/workflows/stackhpc-check-tags.yml'
25+ - ' etc/kayobe/kolla-image-tags.yml'
Original file line number Diff line number Diff line change 1010 description : Kayobe container image
1111 type : string
1212 required : true
13+ if :
14+ description : Whether to run the workflow (workaround for required status checks issue)
15+ type : boolean
16+ default : true
1317 secrets :
1418 KAYOBE_VAULT_PASSWORD :
1519 required : true
1923jobs :
2024 check-tags :
2125 name : Check container image tags
22- if : github.repository == 'stackhpc/stackhpc-kayobe-config'
26+ if : inputs.if
2327 runs-on : arc-skc-aio-runner
2428 permissions : {}
2529 env :
Original file line number Diff line number Diff line change 2020 if : github.repository == 'stackhpc/stackhpc-kayobe-config'
2121 outputs :
2222 aio : ${{ steps.changes.outputs.aio }}
23+ check-tags : ${{ steps.changes.outputs.check-tags }}
2324 steps :
2425 - name : GitHub Checkout
2526 uses : actions/checkout@v4
@@ -79,12 +80,14 @@ jobs:
7980 check-tags :
8081 name : Check container image tags
8182 needs :
83+ - check-changes
8284 - build-kayobe-image
8385 uses : ./.github/workflows/stackhpc-check-tags.yml
8486 with :
8587 kayobe_image : ${{ needs.build-kayobe-image.outputs.kayobe_image }}
88+ if : ${{ needs.check-changes.outputs.check-tags == 'true' }}
8689 secrets : inherit
87- if : github.repository == 'stackhpc/stackhpc-kayobe-config'
90+ if : ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
8891
8992 all-in-one-ubuntu-jammy-ovs :
9093 name : aio (Ubuntu Jammy OVS)
You can’t perform that action at this time.
0 commit comments