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 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)
You can’t perform that action at this time.
0 commit comments