add a message to tell the user about the wait condition
This commit is contained in:
parent
e94e9f55d2
commit
f59dcc6f0a
|
@ -110,6 +110,7 @@ finalize() {
|
||||||
}
|
}
|
||||||
trap finalize INT TERM
|
trap finalize INT TERM
|
||||||
|
|
||||||
|
1>&2 echo "waiting for the job to start..."
|
||||||
kubectl --context "$CONTEXT" wait job "${REPO}-gitc${RUNID}" --for jsonpath=.status.ready=1 1>&2
|
kubectl --context "$CONTEXT" wait job "${REPO}-gitc${RUNID}" --for jsonpath=.status.ready=1 1>&2
|
||||||
(echo;cat) | kubectl --context "$CONTEXT" attach -i -q -n "$NS" "job/${REPO}-gitc${RUNID}"
|
(echo;cat) | kubectl --context "$CONTEXT" attach -i -q -n "$NS" "job/${REPO}-gitc${RUNID}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user