@@ -574,9 +574,13 @@ jobs:
574
574
./.github/report-failed-test.sh
575
575
-
576
576
name : Cleanup ginkgo JSON report
577
- # Delete report.json after the analysis. Step should fail if file is not there
577
+ # Delete report.json after the analysis. File should always exist.
578
+ # Delete upgrade_report.json. It may not exist depending on test level.
578
579
if : always()
579
- run :
580
+ run : |
581
+ if [ -f tests/e2e/out/upgrade_report.json ]; then
582
+ rm tests/e2e/out/upgrade_report.json
583
+ fi
580
584
rm tests/e2e/out/report.json
581
585
582
586
-
@@ -740,9 +744,13 @@ jobs:
740
744
./.github/report-failed-test.sh
741
745
-
742
746
name : Cleanup ginkgo JSON report
743
- # Delete report.json after the analysis. Step should fail if file is not there
747
+ # Delete report.json after the analysis. File should always exist.
748
+ # Delete upgrade_report.json. It may not exist depending on test level.
744
749
if : always()
745
- run :
750
+ run : |
751
+ if [ -f tests/e2e/out/upgrade_report.json ]; then
752
+ rm tests/e2e/out/upgrade_report.json
753
+ fi
746
754
rm tests/e2e/out/report.json
747
755
-
748
756
name : Archive e2e failure contexts
@@ -878,9 +886,13 @@ jobs:
878
886
./.github/report-failed-test.sh
879
887
-
880
888
name : Cleanup ginkgo JSON report
881
- # Delete report.json after the analysis. Step should fail if file is not there
889
+ # Delete report.json after the analysis. File should always exist.
890
+ # Delete upgrade_report.json. It may not exist depending on test level.
882
891
if : always()
883
- run :
892
+ run : |
893
+ if [ -f tests/e2e/out/upgrade_report.json ]; then
894
+ rm tests/e2e/out/upgrade_report.json
895
+ fi
884
896
rm tests/e2e/out/report.json
885
897
-
886
898
name : Archive e2e failure contexts
@@ -1072,9 +1084,13 @@ jobs:
1072
1084
./.github/report-failed-test.sh
1073
1085
-
1074
1086
name : Cleanup ginkgo JSON report
1075
- # Delete report.json after the analysis. Step should fail if file is not there
1087
+ # Delete report.json after the analysis. File should always exist.
1088
+ # Delete upgrade_report.json. It may not exist depending on test level.
1076
1089
if : always()
1077
- run :
1090
+ run : |
1091
+ if [ -f tests/e2e/out/upgrade_report.json ]; then
1092
+ rm tests/e2e/out/upgrade_report.json
1093
+ fi
1078
1094
rm tests/e2e/out/report.json
1079
1095
-
1080
1096
name : Archive e2e failure contexts
@@ -1212,9 +1228,13 @@ jobs:
1212
1228
./.github/report-failed-test.sh
1213
1229
-
1214
1230
name : Cleanup ginkgo JSON report
1215
- # Delete report.json after the analysis. Step should fail if file is not there
1231
+ # Delete report.json after the analysis. File should always exist.
1232
+ # Delete upgrade_report.json. It may not exist depending on test level.
1216
1233
if : always()
1217
- run :
1234
+ run : |
1235
+ if [ -f tests/e2e/out/upgrade_report.json ]; then
1236
+ rm tests/e2e/out/upgrade_report.json
1237
+ fi
1218
1238
rm tests/e2e/out/report.json
1219
1239
-
1220
1240
name : Wait for PVs to be released
0 commit comments