Skip to content
This repository was archived by the owner on Nov 9, 2023. It is now read-only.

Commit 7189ddf

Browse files
chore(java): detect sample-secrets in build.sh
Fixes #904 Source-Author: Neenu Shaji <[email protected]> Source-Date: Wed Mar 24 15:50:02 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef Source-Link: googleapis/synthtool@bb854b6
1 parent 78cf173 commit 7189ddf

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.kokoro/build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ samples)
7979

8080
if [[ -f ${SAMPLES_DIR}/pom.xml ]]
8181
then
82+
for FILE in ${KOKORO_GFILE_DIR}/secret_manager/*-samples-secrets; do
83+
[[ -f "$FILE" ]] || continue
84+
source "$FILE"
85+
done
86+
8287
pushd ${SAMPLES_DIR}
8388
mvn -B \
8489
-Penable-samples \

synth.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-document-ai.git",
7-
"sha": "7ea5f43ee9081870fda6a71df6d62015c0ebfef6"
7+
"sha": "78cf173ac9041a5695ccdb4b95ceb93f89513b9d"
88
}
99
},
1010
{
@@ -35,7 +35,7 @@
3535
"git": {
3636
"name": "synthtool",
3737
"remote": "https://github.com/googleapis/synthtool.git",
38-
"sha": "0b064d767537e0675fc053e53fca473c5c701fb8"
38+
"sha": "bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef"
3939
}
4040
}
4141
],

0 commit comments

Comments
 (0)