Skip to content

Commit

Permalink
chore(java): detect sample-secrets in build.sh (#218)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

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: googleapis/synthtool@bb854b6
  • Loading branch information
yoshi-automation authored Mar 24, 2021
1 parent a6cf25a commit adee866
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions java-workflows/.kokoro/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
4 changes: 2 additions & 2 deletions java-workflows/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-workflows.git",
"sha": "68b345fd4fd74a977281376f6bb6abde1e803db3"
"sha": "da452b274a80ed3396d95c3396dae8375ceabaf8"
}
},
{
Expand All @@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "0b064d767537e0675fc053e53fca473c5c701fb8"
"sha": "bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef"
}
}
],
Expand Down

0 comments on commit adee866

Please sign in to comment.