Skip to content

Commit

Permalink
config/k8s: add set -e to build jobs
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
gctucker authored and nuclearcat committed Jan 5, 2023
1 parent 40b69b4 commit 46976d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/k8s/job-build.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ install: true\n\
[kci_data]\n\
output: ${KDIR}/build\n\
\" > kernelci.conf; \
set -x; \
set -xe; \
\
kci_build pull_tarball \
--url ${SRC_TARBALL} \
Expand Down

0 comments on commit 46976d4

Please sign in to comment.