Skip to content

Commit 2cacc10

Browse files
build(java): switch to release-publish app for notifying GitHub of release status
Source-Author: Jeff Ching <chingor@google.com> Source-Date: Wed Aug 26 21:48:06 2020 -0700 Source-Repo: googleapis/synthtool Source-Sha: 019c7168faa0e56619f792693a8acdb30d6de19b Source-Link: googleapis/synthtool@019c716
1 parent d6eca59 commit 2cacc10

File tree

3 files changed

+7
-33
lines changed

3 files changed

+7
-33
lines changed

.kokoro/release/stage.cfg

+3-28
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,7 @@ action {
1313
}
1414
}
1515

16-
# Fetch the token needed for reporting release status to GitHub
17-
before_action {
18-
fetch_keystore {
19-
keystore_resource {
20-
keystore_config_id: 73713
21-
keyname: "yoshi-automation-github-key"
22-
}
23-
}
24-
}
25-
26-
# Fetch magictoken to use with Magic Github Proxy
27-
before_action {
28-
fetch_keystore {
29-
keystore_resource {
30-
keystore_config_id: 73713
31-
keyname: "releasetool-magictoken"
32-
}
33-
}
34-
}
35-
36-
# Fetch api key to use with Magic Github Proxy
37-
before_action {
38-
fetch_keystore {
39-
keystore_resource {
40-
keystore_config_id: 73713
41-
keyname: "magic-github-proxy-api-key"
42-
}
43-
}
16+
env_vars: {
17+
key: "SECRET_MANAGER_KEYS"
18+
value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem"
4419
}

.kokoro/release/stage.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
set -eo pipefail
1717

1818
# Start the releasetool reporter
19-
# Disable reporting due to issue observed with Kokoro blocking releases
20-
# python3 -m pip install gcp-releasetool
21-
# python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script
19+
python3 -m pip install gcp-releasetool
20+
python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script
2221

2322
source $(dirname "$0")/common.sh
2423
MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml

synth.metadata

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-datastore.git",
7-
"sha": "254988134ad240aac3bab3e48ee2e3c69e4dd54b"
7+
"sha": "d6eca596440371e31031d36d600466b8e13e8109"
88
}
99
},
1010
{
@@ -19,7 +19,7 @@
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "968465a1cad496e1292ef4584a054a35f756ff94"
22+
"sha": "019c7168faa0e56619f792693a8acdb30d6de19b"
2323
}
2424
}
2525
],

0 commit comments

Comments
 (0)