Skip to content

Commit

Permalink
build: switch to release-publish app for notifying GitHub of release …
Browse files Browse the repository at this point in the history
…status (#702)

* changes without context

        autosynth cannot find the source of changes triggered by earlier changes in this
        repository, or by version upgrades to tools such as linters.

* 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
  • Loading branch information
yoshi-automation committed Aug 27, 2020
1 parent 863c9e1 commit 94be1ec
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 34 deletions.
31 changes: 3 additions & 28 deletions .kokoro/release/stage.cfg
Expand Up @@ -13,32 +13,7 @@ action {
}
}

# Fetch the token needed for reporting release status to GitHub
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 73713
keyname: "yoshi-automation-github-key"
}
}
}

# Fetch magictoken to use with Magic Github Proxy
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 73713
keyname: "releasetool-magictoken"
}
}
}

# Fetch api key to use with Magic Github Proxy
before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 73713
keyname: "magic-github-proxy-api-key"
}
}
env_vars: {
key: "SECRET_MANAGER_KEYS"
value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem"
}
5 changes: 2 additions & 3 deletions .kokoro/release/stage.sh
Expand Up @@ -16,9 +16,8 @@
set -eo pipefail

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

source $(dirname "$0")/common.sh
MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -40,7 +40,7 @@ If you are using Maven without BOM, add this to your dependencies:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-bigquery</artifactId>
<version>1.116.10</version>
<version>1.117.0</version>
</dependency>

```
Expand Down
4 changes: 2 additions & 2 deletions synth.metadata
Expand Up @@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-bigquery.git",
"sha": "a0e760fbb1f5a9b169045ceba2dcf682d4736995"
"sha": "863c9e1d7da8a63154677fb32954e2048dd48e9e"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "968465a1cad496e1292ef4584a054a35f756ff94"
"sha": "019c7168faa0e56619f792693a8acdb30d6de19b"
}
}
],
Expand Down

0 comments on commit 94be1ec

Please sign in to comment.