chore(ci): apply manifests and wait for healthy nodes (#580)

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
This commit is contained in:
Andrew Rynhard 2019-04-26 19:36:52 -07:00 committed by GitHub
parent ab2917e833
commit fcf7ec10af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,5 +10,7 @@ set -eou pipefail
until ./osctl.sh kubeconfig > kubeconfig; do cat kubeconfig; sleep 5; done
until ./kubectl.sh get nodes -o json | jq '.items | length' | grep 4; do ./kubectl.sh get nodes; sleep 5; done
./kubectl.sh apply -f /manifests
./kubectl.sh wait --for=condition=ready=true --all nodes
exit 0