Skip to content

Commit

Permalink
fix: build.yaml run section needs set -e, and add -x
Browse files Browse the repository at this point in the history
Mostly a cherry-pick of 3134d84
But we do not need the po4a change here as we have an older
version of xz.

Signed-off-by: Scott Moser <[email protected]>
  • Loading branch information
smoser committed Nov 8, 2023
1 parent bfd2e83 commit 7e9a902
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7e9a902

Please sign in to comment.