Merge pull request #540 from nitkon/patch-4

lib.sh: Pass right parameters to build image
This commit is contained in:
Jose Carlos Venegas Munoz 2019-05-24 23:50:49 -05:00 committed by GitHub
commit e9ed1f5c55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,10 +42,8 @@ get_from_kata_deps() {
# 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
info "Sourcing versions from local file found in runtime repository"
versions_file="${GOPATH}/src/${runtime_repo}/versions.yaml"
else
info "Sourcing versions from github ${branch} branch"
versions_file="versions-${branch}.yaml"
fi
if [ ! -e "${versions_file}" ]; then