diff options
author | Pekka Paalanen <pekka.paalanen@collabora.com> | 2019-11-21 15:03:03 +0200 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.com> | 2019-12-12 14:08:33 +0200 |
commit | 44c39d06b2a1fb29e185f271d0604d47b1ee420a (patch) | |
tree | 931f5a497f42d318eea933da3761cb6a99a7cc2a | |
parent | e7fb62a3498549bd1fdd07f0fa5efed301dacb60 (diff) | |
download | weston-44c39d06b2a1fb29e185f271d0604d47b1ee420a.tar.gz |
gitlab-ci: image build should fail on failed commands
Ensure that no command in the script fails silently. If any command fails, the
image is likely broken.
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
-rw-r--r-- | .gitlab-ci/debian-install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh index 80ba6e36..34f3b262 100644 --- a/.gitlab-ci/debian-install.sh +++ b/.gitlab-ci/debian-install.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -o xtrace +set -o xtrace -o errexit echo 'deb http://deb.debian.org/debian buster-backports main' >> /etc/apt/sources.list apt-get update |