From 18f36e65221e3c8f0d665ea6a2cb87e77e18d9a9 Mon Sep 17 00:00:00 2001 From: Shuya Ma <87669292+shuyama1@users.noreply.github.com> Date: Tue, 21 May 2024 14:50:28 -0700 Subject: [PATCH] Revert "Add guard against trying to upload non-existant artifacts to GCS" (#10758) --- .../terraform/.teamcity/components/builds/build_steps.kt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mmv1/third_party/terraform/.teamcity/components/builds/build_steps.kt b/mmv1/third_party/terraform/.teamcity/components/builds/build_steps.kt index 523a7dfb30f0..68d9aa0a0206 100644 --- a/mmv1/third_party/terraform/.teamcity/components/builds/build_steps.kt +++ b/mmv1/third_party/terraform/.teamcity/components/builds/build_steps.kt @@ -140,12 +140,6 @@ fun BuildSteps.saveArtifactsToGCS() { #!/bin/bash echo "Post-test step - storge artifacts(debug logs) to GCS" - export TEST_COUNT=${'$'}(./test-binary -test.list="%TEST_PREFIX%" | wc -l) - if test ${'$'}TEST_COUNT -le "0"; then - echo "Skipping upload to GCS; no tests were run, so no artifacts were generated" - exit 0 - fi - # Authenticate gcloud CLI echo "${'$'}{GOOGLE_CREDENTIALS_GCS}" > google-account.json chmod 600 google-account.json