Merge pull request #538 from ganeshmaharaj/fix-ci-ci

release: initialize CI variable in lib.sh
This commit is contained in:
James O. D. Hunt 2019-06-06 09:14:01 +01:00 committed by GitHub
commit e08f1e77fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ get_from_kata_deps() {
# through CI. For the kernel, .ci/install_kata_kernel.sh file in tests
# repository will pass the kernel version as an override to this function to
# allow testing of kernels before they land in tree.
if ${CI}; then
if [ "${CI:-}" = "true" ]; then
versions_file="${GOPATH}/src/${runtime_repo}/versions.yaml"
else
versions_file="versions-${branch}.yaml"