File tree 5 files changed +14
-7
lines changed
5 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 20
20
- ' kayobe-env'
21
21
- ' requirements.txt'
22
22
- ' 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 10
10
description : Kayobe container image
11
11
type : string
12
12
required : true
13
+ if :
14
+ description : Whether to run the workflow (workaround for required status checks issue)
15
+ type : boolean
16
+ default : true
13
17
secrets :
14
18
KAYOBE_VAULT_PASSWORD :
15
19
required : true
19
23
jobs :
20
24
check-tags :
21
25
name : Check container image tags
22
- if : github.repository == 'stackhpc/stackhpc-kayobe-config'
26
+ if : inputs.if
23
27
runs-on : arc-skc-aio-runner
24
28
permissions : {}
25
29
env :
Original file line number Diff line number Diff line change 20
20
if : github.repository == 'stackhpc/stackhpc-kayobe-config'
21
21
outputs :
22
22
aio : ${{ steps.changes.outputs.aio }}
23
+ check-tags : ${{ steps.changes.outputs.check-tags }}
23
24
steps :
24
25
- name : GitHub Checkout
25
26
uses : actions/checkout@v4
@@ -79,12 +80,14 @@ jobs:
79
80
check-tags :
80
81
name : Check container image tags
81
82
needs :
83
+ - check-changes
82
84
- build-kayobe-image
83
85
uses : ./.github/workflows/stackhpc-check-tags.yml
84
86
with :
85
87
kayobe_image : ${{ needs.build-kayobe-image.outputs.kayobe_image }}
88
+ if : ${{ needs.check-changes.outputs.check-tags == 'true' }}
86
89
secrets : inherit
87
- if : github.repository == 'stackhpc/stackhpc-kayobe-config'
90
+ if : ${{ ! failure() && github.repository == 'stackhpc/stackhpc-kayobe-config' }}
88
91
89
92
all-in-one-ubuntu-jammy-ovs :
90
93
name : aio (Ubuntu Jammy OVS)
Original file line number Diff line number Diff line change 16
16
set_fact :
17
17
kolla_images : " {{ kolla_images_result.stdout | from_yaml }}"
18
18
19
- - name : Set a fact about the Pulp URL
20
- set_fact :
21
- pulp_url : " {{ stackhpc_repo_mirror_url }}"
22
-
23
19
# Use state=read and allow_missing=false to check for missing tags in test pulp.
24
20
- import_role :
25
21
name : stackhpc.pulp.pulp_container_content
30
26
{%- set repository = kolla_docker_namespace ~ "/" ~ image -%}
31
27
{%- set content = {
32
28
"allow_missing": False,
29
+ "is_push": pulp_url == stackhpc_release_pulp_url,
33
30
"repository": repository,
34
31
"state": "read",
35
32
"tags": tags,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ collections:
7
7
- name : pulp.squeezer
8
8
version : 0.0.13
9
9
- name : stackhpc.pulp
10
- version : 0.5.4
10
+ version : 0.5.5
11
11
- name : stackhpc.hashicorp
12
12
version : 2.4.0
13
13
- name : stackhpc.kayobe_workflows
You can’t perform that action at this time.
0 commit comments