mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 12:44:39 +00:00
ci: expand $CI to nothing
PR #2252 put `set -o nounset` in `ci/lib.sh`. It turns out that this won't work when `$CI` is unset (it is always set in CI). Expand `$CI` to nothing. Fixes: #2283 Signed-off-by: Jakob Naucke <jakob.naucke@ibm.com>
This commit is contained in:
parent
fd2607cc43
commit
c10425233b
@ -17,7 +17,7 @@ export branch="${target_branch:-main}"
|
|||||||
clone_tests_repo()
|
clone_tests_repo()
|
||||||
{
|
{
|
||||||
if [ -d "$tests_repo_dir" ]; then
|
if [ -d "$tests_repo_dir" ]; then
|
||||||
[ -n "$CI" ] && return
|
[ -n "${CI:-}" ] && return
|
||||||
pushd "${tests_repo_dir}"
|
pushd "${tests_repo_dir}"
|
||||||
git checkout "${branch}"
|
git checkout "${branch}"
|
||||||
git pull
|
git pull
|
||||||
|
Loading…
Reference in New Issue
Block a user