From adee866a50945656959cf1791412164b1307950a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 24 Mar 2021 16:12:09 -0700 Subject: [PATCH] chore(java): detect sample-secrets in build.sh (#218) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/8fc5f296-2384-40bb-8e2d-4ec67275eee1/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef --- java-workflows/.kokoro/build.sh | 5 +++++ java-workflows/synth.metadata | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/java-workflows/.kokoro/build.sh b/java-workflows/.kokoro/build.sh index 397d0e67a4eb..b75803eb7192 100755 --- a/java-workflows/.kokoro/build.sh +++ b/java-workflows/.kokoro/build.sh @@ -79,6 +79,11 @@ samples) if [[ -f ${SAMPLES_DIR}/pom.xml ]] then + for FILE in ${KOKORO_GFILE_DIR}/secret_manager/*-samples-secrets; do + [[ -f "$FILE" ]] || continue + source "$FILE" + done + pushd ${SAMPLES_DIR} mvn -B \ -Penable-samples \ diff --git a/java-workflows/synth.metadata b/java-workflows/synth.metadata index dd5631b553da..682fe5093dbf 100644 --- a/java-workflows/synth.metadata +++ b/java-workflows/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-workflows.git", - "sha": "68b345fd4fd74a977281376f6bb6abde1e803db3" + "sha": "da452b274a80ed3396d95c3396dae8375ceabaf8" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "0b064d767537e0675fc053e53fca473c5c701fb8" + "sha": "bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef" } } ],