From 33056e48c5f5c381110caa334ed3f8417e13fcad Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Tue, 28 Jul 2020 17:54:38 -0500 Subject: [PATCH] ci: make test_file.txt a build artifact for debug Rather that echo'ng the test_file.txt to the console, lets just upload it as a buildkite artifact. Signed-off-by: Kumar Gala --- .buildkite/run.sh | 4 ++++ scripts/ci/run_ci.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.buildkite/run.sh b/.buildkite/run.sh index 8960f061799..e5a07e463dc 100755 --- a/.buildkite/run.sh +++ b/.buildkite/run.sh @@ -53,6 +53,10 @@ fi mv sanity-out/sanitycheck.xml sanitycheck-${BUILDKITE_JOB_ID}.xml buildkite-agent artifact upload sanitycheck-${BUILDKITE_JOB_ID}.xml + +# Upload test_file to get list of tests that are build/run +buildkite-agent artifact upload test_file.txt + # ccache stats echo "--- ccache stats at finish" ccache -s diff --git a/scripts/ci/run_ci.sh b/scripts/ci/run_ci.sh index 7803d97350e..71b5f4b4133 100755 --- a/scripts/ci/run_ci.sh +++ b/scripts/ci/run_ci.sh @@ -269,7 +269,7 @@ if [ -n "$main_ci" ]; then tail -n +2 test_file_1.txt > test_file_1_in.txt cat test_file_3.txt test_file_2_in.txt test_file_1_in.txt > test_file.txt - cat test_file.txt + buildkite-agent artifact upload test_file.txt echo "+++ run sanitycheck"