mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 06:52:13 +00:00
ci: Fix travis for stable-2.0
This PR fixes travis in stable-2.0 as is taking the branch from the travis environment instead of using main. Fixes #1663 Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
parent
e5df408f64
commit
1c70ef544f
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
export tests_repo="${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"
|
export tests_repo_dir="$GOPATH/src/$tests_repo"
|
||||||
export branch="${branch:-main}"
|
export branch="${branch:-$TRAVIS_BRANCH}"
|
||||||
|
|
||||||
clone_tests_repo()
|
clone_tests_repo()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user