Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
build: switch to release publish app (#248)
Browse files Browse the repository at this point in the history
* build: switch to release publish app

* chore: restore publish-reporter-script
  • Loading branch information
chingor13 committed Aug 27, 2020
1 parent 1428625 commit 40fcbaf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 31 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

0 comments on commit 40fcbaf

Please sign in to comment.