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

Commit a678892

Browse files
chore: regenerate common templates (#203)
* chore(ci): fix typo in restrict presubmit samples ITs to only snapshot Fixes below error in Java repos when googleapis/synthtool#804 was merged: ``` github/java-bigquerystorage/.kokoro/build.sh: line 81: pushd: {SAMPLES_DIR}: No such file or directory ``` Thanks @kolea2 for spotting this in Fusion build logs. cc @chingor13 Source-Author: Stephanie Wang <[email protected]> Source-Date: Mon Oct 26 13:44:04 2020 -0400 Source-Repo: googleapis/synthtool Source-Sha: f68649c5f26bcff6817c6d21e90dac0fc71fef8e Source-Link: googleapis/synthtool@f68649c * chore(java): enable generated-files-bot This bot will comment on pull requests that modify templated files. For java, we configure to read from our 2 synth.metadata files: (primary templates and README) Source-Author: Jeff Ching <[email protected]> Source-Date: Fri Oct 30 14:22:02 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: b19b401571e77192f8dd38eab5fb2300a0de9324 Source-Link: googleapis/synthtool@b19b401
1 parent 2c14383 commit a678892

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.github/generated-files-bot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
externalManifests:
2+
- type: json
3+
file: 'synth.metadata'
4+
jsonpath: '$.generatedFiles[*]'
5+
- type: json
6+
file: '.github/readme/synth.metadata/synth.metadata'
7+
jsonpath: '$.generatedFiles[*]'

.kokoro/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ samples)
7878

7979
if [[ -f ${SAMPLES_DIR}/pom.xml ]]
8080
then
81-
pushd {SAMPLES_DIR}
81+
pushd ${SAMPLES_DIR}
8282
mvn -B \
8383
-Penable-samples \
8484
-DtrimStackTrace=false \

synth.metadata

Lines changed: 3 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/java-shared-dependencies.git",
7-
"sha": "71979b715609d28c83c7a2291a3bcaf7eee94131"
7+
"sha": "2c1438355d733e2d446dac8ad5b58c319523787c"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "synthtool",
1313
"remote": "https://github.com/googleapis/synthtool.git",
14-
"sha": "5f6ef0ec5501d33c4667885b37a7685a30d41a76"
14+
"sha": "b19b401571e77192f8dd38eab5fb2300a0de9324"
1515
}
1616
}
1717
],
@@ -21,6 +21,7 @@
2121
".github/ISSUE_TEMPLATE/feature_request.md",
2222
".github/ISSUE_TEMPLATE/support_request.md",
2323
".github/PULL_REQUEST_TEMPLATE.md",
24+
".github/generated-files-bot.yml",
2425
".github/readme/synth.py",
2526
".github/snippet-bot.yml",
2627
".github/trusted-contribution.yml",

0 commit comments

Comments
 (0)