Use common playbook to wait for SSH (#4734)

This commit is contained in:
Maxime Guyot
2019-05-10 10:25:59 +02:00
committed by Kubernetes Prow Robot
parent 787a9c74fa
commit 5e3bd2dff1
7 changed files with 17 additions and 38 deletions

View File

@@ -7,12 +7,15 @@ echo "PYPATH is $PYPATH"
pwd
ls
echo ${PWD}
cd tests && make create-${CI_PLATFORM} -s ; cd -
export ANSIBLE_REMOTE_USER=$SSH_USER
export ANSIBLE_BECOME=true
export ANSIBLE_BECOME_USER=root
cd tests && make create-${CI_PLATFORM} -s ; cd -
ansible-playbook tests/cloud_playbooks/wait-for-ssh.yml
# Check out latest tag if testing upgrade
test "${UPGRADE_TEST}" != "false" && git fetch --all && git checkout "$KUBESPRAY_VERSION"
# Checkout the CI vars file so it is available