Skip to content

Commit d33eaa5

Browse files
authored
Collecting sub dir artifacts in GitLab yaml. Removing collect function from test script. (#6499)
1 parent 048d5ac commit d33eaa5

File tree

13 files changed

+0
-30
lines changed

13 files changed

+0
-30
lines changed

qa/L0_backend_python/argument_validation/test.sh

-2
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,4 @@ else
7575
echo -e "\n***\n*** Argument validation test PASSED. \n***"
7676
fi
7777

78-
collect_artifacts_from_subdir
79-
8078
exit $RET

qa/L0_backend_python/bls/test.sh

-2
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,4 @@ else
411411
echo -e "\n***\n*** BLS test PASSED. \n***"
412412
fi
413413

414-
collect_artifacts_from_subdir
415-
416414
exit $RET

qa/L0_backend_python/custom_metrics/test.sh

-2
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,4 @@ else
8282
echo -e "\n***\n*** Custom Metrics test PASSED. \n***"
8383
fi
8484

85-
collect_artifacts_from_subdir
86-
8785
exit $RET

qa/L0_backend_python/decoupled/test.sh

-2
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,4 @@ else
123123
echo -e "\n***\n*** Decoupled test PASSED. \n***"
124124
fi
125125

126-
collect_artifacts_from_subdir
127-
128126
exit $RET

qa/L0_backend_python/ensemble/test.sh

-2
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,4 @@ else
109109
echo -e "\n***\n*** Ensemble test PASSED. \n***"
110110
fi
111111

112-
collect_artifacts_from_subdir
113-
114112
exit $RET

qa/L0_backend_python/env/test.sh

-2
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,4 @@ else
315315
echo -e "\n***\n*** Env Manager Test FAILED.\n***"
316316
fi
317317

318-
collect_artifacts_from_subdir
319-
320318
exit $RET

qa/L0_backend_python/examples/test.sh

-2
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,4 @@ else
450450
echo -e "\n***\n*** Example verification test FAILED.\n***"
451451
fi
452452

453-
collect_artifacts_from_subdir
454-
455453
exit $RET

qa/L0_backend_python/io/test.sh

-2
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,4 @@ else
172172
echo -e "\n***\n*** IO test FAILED.\n***"
173173
fi
174174

175-
collect_artifacts_from_subdir
176-
177175
exit $RET

qa/L0_backend_python/lifecycle/test.sh

-2
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,4 @@ else
213213
echo -e "\n***\n*** Lifecycle test PASSED. \n***"
214214
fi
215215

216-
collect_artifacts_from_subdir
217-
218216
exit $RET

qa/L0_backend_python/logging/test.sh

-2
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,4 @@ else
228228
echo -e "\n***\n*** Logging test FAILED. \n***"
229229
fi
230230

231-
collect_artifacts_from_subdir
232-
233231
exit $RET

qa/L0_backend_python/model_control/test.sh

-2
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,4 @@ else
7878
echo -e "\n***\n*** model_control_test PASSED. \n***"
7979
fi
8080

81-
collect_artifacts_from_subdir
82-
8381
exit $RET

qa/L0_backend_python/restart/test.sh

-2
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,4 @@ else
126126
echo -e "\n***\n*** Restart test PASSED. \n***"
127127
fi
128128

129-
collect_artifacts_from_subdir
130-
131129
exit $RET

qa/common/util.sh

-6
Original file line numberDiff line numberDiff line change
@@ -468,12 +468,6 @@ function kill_servers () {
468468
done
469469
}
470470

471-
# Collect all logs and core dumps and copy them to an upper-level directory for
472-
# proper capture on the CI.
473-
function collect_artifacts_from_subdir () {
474-
cp *.*log* core* ../ || true
475-
}
476-
477471
# Sort an array
478472
# Call with sort_array <array_name>
479473
# Example: sort_array array

0 commit comments

Comments
 (0)