Skip to content

Commit 2bb7eba

Browse files
authored
NO-JIRA: only show crio debug info if we actually managed to install crio packages (opendatahub-io#2256)
1 parent 391d5d5 commit 2bb7eba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-notebooks-TEMPLATE.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ jobs:
386386
387387
# https://cri-o.io/
388388
- name: Install cri-o
389+
id: install-crio
389390
if: ${{ steps.have-tests.outputs.tests == 'true' }}
390391
run: |
391392
set -Eeuxo pipefail
@@ -478,7 +479,7 @@ jobs:
478479
sudo chown $(id -u):$(id -g) $HOME/.kube/config
479480
480481
- name: Show kubelet debug data (on failure)
481-
if: ${{ failure() && steps.have-tests.outputs.tests == 'true' }}
482+
if: ${{ failure() && steps.have-tests.outputs.tests == 'true' && steps.install-crio.outcome == 'success' }}
482483
run: |
483484
set -Eeuxo pipefail
484485

0 commit comments

Comments
 (0)