Skip to content

Commit e79dcc4

Browse files
chore(java): detect sample-secrets in build.sh
Fixes #904 Source-Author: Neenu Shaji <Neenu1995@users.noreply.github.com> Source-Date: Wed Mar 24 15:50:02 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef Source-Link: googleapis/synthtool@bb854b6
1 parent 7e3b00e commit e79dcc4

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.kokoro/build.sh

+5
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

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-cloud-bom.git",
7-
"sha": "ef78a60a836ee007d363083b7cf3beacbe88b395"
7+
"sha": "7e3b00e1ca618c85859be8304fcdb503964ceab9"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "synthtool",
1313
"remote": "https://github.com/googleapis/synthtool.git",
14-
"sha": "d0bdade9a962042dc0f770cf631086f3db59b5b0"
14+
"sha": "bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef"
1515
}
1616
}
1717
],

0 commit comments

Comments
 (0)