File tree Expand file tree Collapse file tree 1 file changed +12
-19
lines changed Expand file tree Collapse file tree 1 file changed +12
-19
lines changed Original file line number Diff line number Diff line change @@ -294,22 +294,15 @@ e2e-status:
294
294
{ {- end } }
295
295
{ {- end } }
296
296
- |
297
- # TODO: link to the test results
298
- # make this job start running at same time as e2e-test job
299
- # do not wait around for the scheduled job to complete
300
- switch "${ CI_JOB_STATUS} " in
301
- "success")
302
- echo "✅ E2E tests completed successfully"
303
- ;;
304
- "failed")
305
- echo "❌ E2E tests failed"
306
- exit 1
307
- ;;
308
- "canceled")
309
- echo "❌ E2E tests were canceled"
310
- exit 1
311
- ;;
312
- *)
313
- echo "❌ E2E tests unknown status: ${ CI_JOB_STATUS} "
314
- exit 1
315
- esac
297
+ if [ "$CI_JOB_STATUS" = "success" ]; then
298
+ echo "✅ E2E tests completed successfully"
299
+ elif [ "$CI_JOB_STATUS" = "failed" ]; then
300
+ echo "❌ E2E tests failed"
301
+ exit 1
302
+ elif [ "$CI_JOB_STATUS" = "canceled" ]; then
303
+ echo "❌ E2E tests were canceled"
304
+ exit 1
305
+ else
306
+ echo "❌ E2E tests unknown status: ${ CI_JOB_STATUS} "
307
+ exit 1
308
+ fi
You can’t perform that action at this time.
0 commit comments