Skip to content

Commit 46976d4

Browse files
gctuckernuclearcat
authored andcommitted
config/k8s: add set -e to build jobs
Add set -e to the build job template so that if any command fails the job aborts rather than trying to run subsequent commands as that's destined to keep piling up more failure. Signed-off-by: Guillaume Tucker <[email protected]>
1 parent 40b69b4 commit 46976d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/k8s/job-build.jinja2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ install: true\n\
8484
[kci_data]\n\
8585
output: ${KDIR}/build\n\
8686
\" > kernelci.conf; \
87-
set -x; \
87+
set -xe; \
8888
\
8989
kci_build pull_tarball \
9090
--url ${SRC_TARBALL} \

0 commit comments

Comments
 (0)