File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -198,18 +198,18 @@ jobs:
198198 id : cucumber_job
199199 continue-on-error : true
200200 run : |
201- if ! kubectl wait --for=condition=complete --all jobs --timeout=30m ; then
202- echo "::error::Kubectl timed out...";
203- echo "status=ERROR" >> $GITHUB_OUTPUT;
201+ if ! kubectl wait --for=condition=complete --all jobs --timeout=1m ; then
202+ echo "::error::Kubectl timed out..."
203+ echo "status=ERROR" >> $GITHUB_OUTPUT
204204 kubectl get events --all-namespaces --sort-by='.metadata.creationTimestamp' &> kube_events.log
205205 for pod in $(kubectl get pod --field-selector=status.phase==Running -o name); do
206- echo "::debug:: Created logs for pod $pod";
207- kubectl logs $pod --all-containers=true &> ${pod}.log ;
206+ echo "::debug:: Created logs for pod $pod"
207+ kubectl logs $pod --all-containers=true &> ${pod}.log
208208 done;
209- kubectl get pods &> kube_status.log;
209+ kubectl get pods &> kube_status.log
210210 exit 1
211211 fi;
212- echo "status=SUCCES" >> $GITHUB_OUTPUT;
212+ echo "status=SUCCES" >> $GITHUB_OUTPUT
213213 - name : Upload error logs
214214 uses : actions/upload-artifact@v4
215215 with :
You can’t perform that action at this time.
0 commit comments