From f59dcc6f0af36c3d461a7b9748ebd8eed131a5bf Mon Sep 17 00:00:00 2001 From: James Andariese Date: Tue, 17 Oct 2023 00:33:11 -0500 Subject: [PATCH] add a message to tell the user about the wait condition --- git-remote-k8s.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/git-remote-k8s.sh b/git-remote-k8s.sh index c9c198d..e774f09 100755 --- a/git-remote-k8s.sh +++ b/git-remote-k8s.sh @@ -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}"