From 4a47a1ba50b39886df751eeba1af8e4611348162 Mon Sep 17 00:00:00 2001 From: Graham whaley Date: Thu, 22 Mar 2018 14:38:45 +0000 Subject: [PATCH] ci: allow path to tests repo to be over-wridden The github path to the tests repo is hard wired in lib.sh. This makes it difficult to test any test repo WIP, as it ends up calling back to the main repo. Fix by using any value already set, and only setting to the main repo if unset. Fixes: #95 Signed-off-by: Graham whaley --- .ci/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/lib.sh b/.ci/lib.sh index a3f1630267..c5c8582f46 100644 --- a/.ci/lib.sh +++ b/.ci/lib.sh @@ -3,7 +3,7 @@ # # SPDX-License-Identifier: Apache-2.0 -export tests_repo="github.com/kata-containers/tests" +export tests_repo="${tests_repo:-github.com/kata-containers/tests}" export tests_repo_dir="$GOPATH/src/$tests_repo" clone_tests_repo()