From 7e9a90203d2767c40068b5bbc625d0a4849921c6 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Wed, 8 Nov 2023 10:38:09 -0800 Subject: [PATCH] fix: build.yaml run section needs set -e, and add -x Mostly a cherry-pick of 3134d84a53373ea9c162ccae1e859d7032ab1a26 But we do not need the po4a change here as we have an older version of xz. Signed-off-by: Scott Moser --- build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.yaml b/build.yaml index 1078bdc3..3c83bc4b 100644 --- a/build.yaml +++ b/build.yaml @@ -8,7 +8,7 @@ build-env: - https://gitlab.com/cryptsetup/cryptsetup/-/archive/v2.4.3/cryptsetup-v2.4.3.tar.gz - https://github.com/lvmteam/lvm2/archive/refs/tags/v2_03_15.tar.gz run: | - #!/bin/sh + #!/bin/sh -ex # libapparmor is only in testing head -n1 /etc/apk/repositories | sed 's/main/testing/g' >> /etc/apk/repositories @@ -89,7 +89,7 @@ build: binds: - . -> /stacker-tree run: | - #!/bin/sh + #!/bin/sh -ex # golang wants somewhere to put its garbage export HOME=/root export GOPATH=/stacker-tree/.build/gopath