Skip to content

Commit 2c187f1

Browse files
Wait for common workloads to be ready before deploying test apps
Signed-off-by: Kate Goldenring <[email protected]>
1 parent afa8e8d commit 2c187f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/deploy-workloads.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ fi
1212
# apply the workloads
1313
echo ">>> apply workloads"
1414
kubectl apply -f tests/workloads-common
15+
# wait for all the pods to be ready
16+
kubectl wait --for=condition=ready --timeout=120s pod --all
1517

1618
if [ "$1" == "workloads-pushed-using-spin-registry-push" ]; then
1719
echo "deploying spin apps pushed to registry using 'spin registry push' command"

0 commit comments

Comments
 (0)