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>
dev
Pekka Paalanen 5 years ago
parent e7fb62a349
commit 44c39d06b2
  1. 2
      .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

Loading…
Cancel
Save