File tree Expand file tree Collapse file tree 5 files changed +14
-7
lines changed
Expand file tree Collapse file tree 5 files changed +14
-7
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)
Original file line number Diff line number Diff line change 1616 set_fact :
1717 kolla_images : " {{ kolla_images_result.stdout | from_yaml }}"
1818
19- - name : Set a fact about the Pulp URL
20- set_fact :
21- pulp_url : " {{ stackhpc_repo_mirror_url }}"
22-
2319 # Use state=read and allow_missing=false to check for missing tags in test pulp.
2420 - import_role :
2521 name : stackhpc.pulp.pulp_container_content
3026 {%- set repository = kolla_docker_namespace ~ "/" ~ image -%}
3127 {%- set content = {
3228 "allow_missing": False,
29+ "is_push": pulp_url == stackhpc_release_pulp_url,
3330 "repository": repository,
3431 "state": "read",
3532 "tags": tags,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ collections:
77 - name : pulp.squeezer
88 version : 0.0.13
99 - name : stackhpc.pulp
10- version : 0.5.4
10+ version : 0.5.5
1111 - name : stackhpc.hashicorp
1212 version : 2.4.0
1313 - name : stackhpc.kayobe_workflows
You can’t perform that action at this time.
0 commit comments