From 915f3abe94b2d2e8e124750c496ed29d4b7807c9 Mon Sep 17 00:00:00 2001 From: Ilya Leoshkevich Date: Wed, 31 Mar 2021 00:56:46 +0200 Subject: [PATCH] travis-ci: prohibit uninitialized variables in managers/ The scripts in this directory rely on certain environment variables, so fail if they are not set in order to improve the debugging experience. The vmtest/ scripts already do it. Signed-off-by: Ilya Leoshkevich --- travis-ci/managers/debian.sh | 2 +- travis-ci/managers/ubuntu.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/travis-ci/managers/debian.sh b/travis-ci/managers/debian.sh index 61f1adf..66fccbf 100755 --- a/travis-ci/managers/debian.sh +++ b/travis-ci/managers/debian.sh @@ -21,7 +21,7 @@ function docker_exec() { docker exec $ENV_VARS -it $CONT_NAME "$@" } -set -e +set -eu source "$(dirname $0)/travis_wait.bash" diff --git a/travis-ci/managers/ubuntu.sh b/travis-ci/managers/ubuntu.sh index 2229dc6..e317488 100755 --- a/travis-ci/managers/ubuntu.sh +++ b/travis-ci/managers/ubuntu.sh @@ -1,6 +1,5 @@ #!/bin/bash -set -e -set -x +set -eux RELEASE="bionic"