Skip to content

Commit d4c821d

Browse files
chore(java): detect sample-secrets in build.sh (#1754)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/ecc43a3b-beb3-411c-b070-bcdc4f365616/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: googleapis/synthtool@bb854b6
1 parent eb01182 commit d4c821d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.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,14 +4,14 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/google-api-java-client.git",
7-
"sha": "83f37023ea50a643a76eb6e5230072e5c829a205"
7+
"sha": "eb01182b74db358c19c967947c42ac8c89c3674d"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "synthtool",
1313
"remote": "https://github.com/googleapis/synthtool.git",
14-
"sha": "0b064d767537e0675fc053e53fca473c5c701fb8"
14+
"sha": "bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef"
1515
}
1616
}
1717
],

0 commit comments

Comments
 (0)