chore(ci): apply manifests and wait for healthy nodes (#580)
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
This commit is contained in:
parent
ab2917e833
commit
fcf7ec10af
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user