ci: set -o nounset

This avoids confusion e.g. when `$GOPATH` is unset.

Fixes: #2251
Signed-off-by: Jakob Naucke <jakob.naucke@ibm.com>
This commit is contained in:
Jakob Naucke 2021-07-15 12:42:33 +02:00
parent 5737b36a35
commit 4f23b8cd47
No known key found for this signature in database
GPG Key ID: 45FA1C7D310C0EBE

View File

@ -3,6 +3,8 @@
#
# SPDX-License-Identifier: Apache-2.0
set -o nounset
export tests_repo="${tests_repo:-github.com/kata-containers/tests}"
export tests_repo_dir="$GOPATH/src/$tests_repo"
export branch="${target_branch:-main}"