Skip to content

Commit 065fd29

Browse files
committed
DNM: Debug job result
1 parent 4607832 commit 065fd29

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

.github/workflows/stackhpc-all-in-one.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ jobs:
6969
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
7070
KAYOBE_IMAGE: ${{ inputs.kayobe_image }}
7171
steps:
72+
- name: Fail
73+
run: false
74+
7275
- uses: actions/checkout@v3
7376
with:
7477
submodules: true

.github/workflows/stackhpc-pull-request.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,17 @@ jobs:
6464
with:
6565
if: ${{ needs.check-changes.outputs.aio == 'true' }}
6666

67+
test:
68+
runs-on: ubuntu-20.04
69+
needs:
70+
- check-changes
71+
- build-kayobe-image
72+
if: always()
73+
steps:
74+
- run: echo '${{ toJson(needs.build-kayobe-image) }}'
75+
- run: echo '${{ toJson(needs.build-kayobe-image.result) }}'
76+
- run: echo '${{ toJson(needs.build-kayobe-image.outputs) }}'
77+
6778
all-in-one-centos-ovs:
6879
name: aio (CentOS OVS)
6980
needs:
@@ -76,7 +87,7 @@ jobs:
7687
OS_CLOUD: sms-lab-release
7788
if: ${{ needs.check-changes.outputs.aio == 'true' }}
7889
secrets: inherit
79-
if: always()
90+
if: ${{ ! failure() }}
8091

8192
all-in-one-centos-ovn:
8293
name: aio (CentOS OVN)
@@ -90,7 +101,7 @@ jobs:
90101
OS_CLOUD: sms-lab-release
91102
if: ${{ needs.check-changes.outputs.aio == 'true' }}
92103
secrets: inherit
93-
if: always()
104+
if: success()
94105

95106
all-in-one-rocky-ovs:
96107
name: aio (Rocky OVS)
@@ -109,7 +120,7 @@ jobs:
109120
OS_CLOUD: sms-lab-release
110121
if: ${{ needs.check-changes.outputs.aio == 'true' }}
111122
secrets: inherit
112-
if: always()
123+
if: always() && needs.build-kayobe-image.result == 'success'
113124

114125
all-in-one-rocky-ovn:
115126
name: aio (Rocky OVN)
@@ -128,7 +139,6 @@ jobs:
128139
OS_CLOUD: sms-lab-release
129140
if: ${{ needs.check-changes.outputs.aio == 'true' }}
130141
secrets: inherit
131-
if: always()
132142

133143
all-in-one-ubuntu-ovs:
134144
name: aio (Ubuntu OVS)
@@ -144,7 +154,6 @@ jobs:
144154
OS_CLOUD: sms-lab-release
145155
if: ${{ needs.check-changes.outputs.aio == 'true' }}
146156
secrets: inherit
147-
if: always()
148157

149158
all-in-one-ubuntu-ovn:
150159
name: aio (Ubuntu OVN)
@@ -160,4 +169,3 @@ jobs:
160169
OS_CLOUD: sms-lab-release
161170
if: ${{ needs.check-changes.outputs.aio == 'true' }}
162171
secrets: inherit
163-
if: always()

0 commit comments

Comments
 (0)