Skip to content

Commit

Permalink
fix(release-brancher): fix build configuration and set private to fal…
Browse files Browse the repository at this point in the history
…se (#1557)
  • Loading branch information
bcoe authored Mar 24, 2021
1 parent f007a9d commit 68b34f9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .kokoro/common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ action {
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"

# Use the trampoline script to run in docker.
build_file: "repo-automation-bots/.kokoro/trampoline.sh"
build_file: "repo-automation-bots/.kokoro/trampoline_v2.sh"

# Configure the docker image for kokoro-trampoline.
env_vars: {
Expand Down
4 changes: 2 additions & 2 deletions .kokoro/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /

cd $(dirname $0)/..

NPM_TOKEN=$(cat "${KOKORO_KEYSTORE_DIR}/secret_manager/repo_automation_bots_npm_publish_token")
NPM_TOKEN=$(cat "${KOKORO_GFILE_DIR}/secret_manager/repo_automation_bots_npm_publish_token")
printf "//wombat-dressing-room.appspot.com/:_authToken=${NPM_TOKEN}\nregistry=https://wombat-dressing-room.appspot.com" > ~/.npmrc

npx mono-repo-publish --pr-url="${AUTORELEASE_PR}"
npx @google-cloud/mono-repo-publish --pr-url="${AUTORELEASE_PR}"
11 changes: 1 addition & 10 deletions .kokoro/release/publish.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -47,22 +47,13 @@ before_action {
}
}

before_action {
fetch_keystore {
keystore_resource {
keystore_config_id: 73713
keyname: "repo-automation-bots-npm-token"
}
}
}

env_vars: {
key: "SECRET_MANAGER_KEYS"
value: "repo_automation_bots_npm_publish_token,releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem"
}

# Use the trampoline script to run in docker.
build_file: "repo-automation-bots/.kokoro/trampoline.sh"
build_file: "repo-automation-bots/.kokoro/trampoline_v2.sh"

# Configure the docker image for kokoro-trampoline.
env_vars: {
Expand Down
1 change: 0 additions & 1 deletion packages/release-brancher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"version": "1.0.0",
"description": "Cut release branches",
"bin": "./build/src/bin/release-brancher.js",
"private": true,
"author": "Google LLC.",
"license": "Apache-2.0",
"repository": "https://github.com/googleapis/repo-automation-bots.git",
Expand Down

0 comments on commit 68b34f9

Please sign in to comment.