Commit c7bab702 authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

KUBESPRAY_COMMIT

parent 5e12cd74
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@

test -n "${KUBESPRAY_REPO}" && echo "Use own kubespray repo: ${KUBESPRAY_REPO}"
git submodule add --name kubespray --depth 1 -- "${KUBESPRAY_REPO:-https://github.com/southbridgeio/kubespray.git}"
test -n "${KUBESPRAY_COMMIT}" && ( echo "Use kubespray repo commit: ${KUBESPRAY_COMMIT}" && cd kubespray && git checkout "${KUBESPRAY_COMMIT}" && cd .. ) || true

python3 -m venv --upgrade --system-site-packages .venv-kubespray
.venv-kubespray/bin/pip3 install --upgrade pip setuptools wheel