Skip to content

Commit 3beeb4c

Browse files
committed
CI: bundle as ubuntu; add set -e for sudo scripts
1 parent 62e0e36 commit 3beeb4c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

ci/tasks/os-images/build.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,9 @@ sudo chown -R ubuntu .
3232
sudo chown -R ubuntu:ubuntu /mnt
3333
sudo chmod u+s "$(which sudo)"
3434

35-
pushd "${REPO_ROOT}/bosh-stemcell"
36-
bundle install
37-
popd
38-
3935
sudo --preserve-env --set-home --user ubuntu -- /bin/bash --login -i <<SUDO
36+
set -e
37+
4038
pushd "${REPO_ROOT}/bosh-stemcell"
4139
bundle install
4240
popd

0 commit comments

Comments
 (0)