add a message to tell the user about the wait condition

This commit is contained in:
James Andariese 2023-10-17 00:33:11 -05:00
parent e94e9f55d2
commit f59dcc6f0a

View File

@ -110,6 +110,7 @@ finalize() {
}
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
(echo;cat) | kubectl --context "$CONTEXT" attach -i -q -n "$NS" "job/${REPO}-gitc${RUNID}"