File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -198,15 +198,16 @@ jobs:
198198 id : cucumber_job
199199 continue-on-error : true
200200 run : |
201- if ! kubectl wait --for=condition=complete --all jobs --timeout=30m ; then
201+ if ! kubectl wait --for=condition=complete --all jobs --timeout=10s ; then
202202 echo "::error::Kubectl timed out...";
203203 kubectl get events --all-namespaces --sort-by='.metadata.creationTimestamp' 2> kube_events.log
204204 for pod in $(kubectl get pod --field-selector=status.phase==Running -o name); do
205205 echo "::debug:: Created logs for pod $pod";
206206 kubectl logs $pod --all-containers=true 2> ${pod}.log ;
207207 done;
208208 kubectl get pods 2> kube_status.log;
209- echo "status=ERROR" >> $GITHUB_OUTPUT;
209+ echo "status='ERROR'" >> $GITHUB_OUTPUT;
210+ exit 1
210211 fi;
211212 echo "status=SUCCES" >> $GITHUB_OUTPUT;
212213 - name : Upload error logs
You can’t perform that action at this time.
0 commit comments