Skip to content

Commit

Permalink
Switch Firebase Test Lab Artifacts to another GCP GCS Bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed Oct 27, 2023
1 parent 1cacd33 commit 8c45173
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion buildSrc/src/main/kotlin/FirebaseTestLabConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ private fun FlankGradleExtension.commonConfigurationForFirebaseTestLab(project:
maxTestShards.set(10)
testTimeout.set("45m")
directoriesToPull.set(listOf("/sdcard/Download"))
resultsBucket.set("android-fhir-build-artifacts")
resultsBucket.set(
"android-fhir-firebase-test-logs",
) // This is also in //kokoro/gcp_ubuntu/kokoro_build.sh as GCS_BUCKET!
resultsDir.set(
if (project.providers.environmentVariable("KOKORO_BUILD_ARTIFACTS_SUBDIR").isPresent) {
"${System.getenv("KOKORO_BUILD_ARTIFACTS_SUBDIR")}/firebase/${project.name}"
Expand Down
3 changes: 2 additions & 1 deletion kokoro/gcp_ubuntu/kokoro_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ set -e
export JAVA_HOME="/usr/lib/jvm/java-1.17.0-openjdk-amd64"
export ANDROID_HOME=${HOME}/android_sdk
export PATH=$PATH:$JAVA_HOME/bin:${ANDROID_HOME}/cmdline-tools/latest/bin
export GCS_BUCKET="android-fhir-build-artifacts"
export GCS_BUCKET="android-fhir-firebase-test-logs"
# This ^^^ is also in //buildSrc/src/main/kotlin/FirebaseTestLabConfig.kt as resultsBucket.set()

# Uploads files generated from builds and tests to GCS when this script exits.
# If videos were recorded from Firebase, prints their URL to the console so users
Expand Down

0 comments on commit 8c45173

Please sign in to comment.