Skip to content

Commit 99cdc26

Browse files
[CI] Cleanup buildkite test report script
This patch removes the generate_test_report_buildkite script entrypoint as we no longer need it now that buildkite has been sunsetted. Also remove the calls in the monolithic-* scripts given they are adding complexity for no value. Also remove the generate-buildkite-pipeline-premerge script as it is no longer needed. Reviewers: tstellar, DavidSpickett, lnihlen, cmtice Reviewed By: DavidSpickett Pull Request: #143480
1 parent 214ca31 commit 99cdc26

File tree

4 files changed

+6
-204
lines changed

4 files changed

+6
-204
lines changed

.ci/generate-buildkite-pipeline-premerge

Lines changed: 0 additions & 131 deletions
This file was deleted.

.ci/generate_test_report_buildkite.py

Lines changed: 0 additions & 57 deletions
This file was deleted.

.ci/monolithic-linux.sh

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,9 @@ function at-exit {
4242

4343
# If building fails there will be no results files.
4444
shopt -s nullglob
45-
if command -v buildkite-agent 2>&1 >/dev/null
46-
then
47-
python3 "${MONOREPO_ROOT}"/.ci/generate_test_report_buildkite.py ":linux: Linux x64 Test Results" \
48-
"linux-x64-test-results" $retcode "${BUILD_DIR}"/test-results.*.xml
49-
else
50-
python3 "${MONOREPO_ROOT}"/.ci/generate_test_report_github.py ":penguin: Linux x64 Test Results" \
51-
$retcode "${BUILD_DIR}"/test-results.*.xml >> $GITHUB_STEP_SUMMARY
52-
fi
45+
46+
python3 "${MONOREPO_ROOT}"/.ci/generate_test_report_github.py ":penguin: Linux x64 Test Results" \
47+
$retcode "${BUILD_DIR}"/test-results.*.xml >> $GITHUB_STEP_SUMMARY
5348
}
5449
trap at-exit EXIT
5550

.ci/monolithic-windows.sh

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,9 @@ function at-exit {
3737

3838
# If building fails there will be no results files.
3939
shopt -s nullglob
40-
if command -v buildkite-agent 2>&1 >/dev/null
41-
then
42-
python "${MONOREPO_ROOT}"/.ci/generate_test_report_buildkite.py ":windows: Windows x64 Test Results" \
43-
"windows-x64-test-results" $retcode "${BUILD_DIR}"/test-results.*.xml
44-
else
45-
python "${MONOREPO_ROOT}"/.ci/generate_test_report_github.py ":window: Windows x64 Test Results" \
46-
$retcode "${BUILD_DIR}"/test-results.*.xml >> $GITHUB_STEP_SUMMARY
47-
fi
40+
41+
python "${MONOREPO_ROOT}"/.ci/generate_test_report_github.py ":window: Windows x64 Test Results" \
42+
$retcode "${BUILD_DIR}"/test-results.*.xml >> $GITHUB_STEP_SUMMARY
4843
}
4944
trap at-exit EXIT
5045

0 commit comments

Comments
 (0)