mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
Use common playbook to wait for SSH (#4734)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
787a9c74fa
commit
5e3bd2dff1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user