mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-06 03:56:34 +00:00
Merge pull request #117 from jcvenegas/fix-ci
ci: Fix ci when tmp_dir is not set.
This commit is contained in:
commit
edda8cc68a
@ -1,6 +1,6 @@
|
||||
export GOPATH=${GOPATH:-${HOME}/go}
|
||||
readonly kata_arch_sh="${GOPATH}/src/github.com/kata-containers/tests/.ci/kata-arch.sh"
|
||||
hub_bin="${tmp_dir}/hub-bin"
|
||||
hub_bin="hub-bin"
|
||||
|
||||
get_kata_arch(){
|
||||
go get -u github.com/kata-containers/tests || true
|
||||
@ -69,6 +69,8 @@ build_hub() {
|
||||
if cmd=$(command -v hub); then
|
||||
hub_bin="${cmd}"
|
||||
return
|
||||
else
|
||||
hub_bin="${tmp_dir:-/tmp}/hub-bin"
|
||||
fi
|
||||
|
||||
local hub_repo="github.com/github/hub"
|
||||
|
Loading…
Reference in New Issue
Block a user