Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

feat: Increase timeout on wait for setup task to complete #429

Merged
merged 1 commit into from Nov 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/docker-entrypoint.sh
Expand Up @@ -88,7 +88,7 @@ while [ "$#" != "0" ] ; do

waitFn() {
if [ -n "$TRIAL" ] && [ -n "$NAMESPACE" ] ; then
kubectl wait pods --for=condition=Ready --namespace "$NAMESPACE" --selector="stormforge.io/trial=$TRIAL,stormforge.io/trial-role=trialResource"
kubectl wait pods --for=condition=Ready --namespace "$NAMESPACE" --selector="stormforge.io/trial=$TRIAL,stormforge.io/trial-role=trialResource" --timeout=5m
fi
}

Expand All @@ -101,7 +101,7 @@ while [ "$#" != "0" ] ; do

waitFn () {
if [ -n "$TRIAL" ] && [ -n "$NAMESPACE" ] ; then
kubectl wait pods --for=delete --namespace "$NAMESPACE" --selector "stormforge.io/trial=$TRIAL,stormforge.io/trial-role=trialResource"
kubectl wait pods --for=delete --namespace "$NAMESPACE" --selector "stormforge.io/trial=$TRIAL,stormforge.io/trial-role=trialResource" --timeout=5m
fi
}

Expand Down