File tree Expand file tree Collapse file tree 14 files changed +153
-30
lines changed
Expand file tree Collapse file tree 14 files changed +153
-30
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,16 @@ action {
77 }
88}
99
10+ # Bring in codecov.io master token into the build as $KOKORO_KEYSTORE_DIR/73713_dpebot_codecov_token
11+ before_action {
12+ fetch_keystore {
13+ keystore_resource {
14+ keystore_config_id: 73713
15+ keyname: " dpebot_codecov_token"
16+ }
17+ }
18+ }
19+
1020# Download trampoline resources.
1121gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/trampoline"
1222
Original file line number Diff line number Diff line change 1- # Bring in codecov.io master token into the build as $KOKORO_KEYSTORE_DIR/73713_dpebot_codecov_token
2- before_action {
3- fetch_keystore {
4- keystore_resource {
5- keystore_config_id: 73713
6- keyname: " dpebot_codecov_token"
7- }
8- }
9- }
Original file line number Diff line number Diff line change @@ -7,6 +7,16 @@ action {
77 }
88}
99
10+ # Bring in codecov.io master token into the build as $KOKORO_KEYSTORE_DIR/73713_dpebot_codecov_token
11+ before_action {
12+ fetch_keystore {
13+ keystore_resource {
14+ keystore_config_id: 73713
15+ keyname: " dpebot_codecov_token"
16+ }
17+ }
18+ }
19+
1020# Download trampoline resources.
1121gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/trampoline"
1222
Original file line number Diff line number Diff line change 1- # Bring in codecov.io master token into the build as $KOKORO_KEYSTORE_DIR/73713_dpebot_codecov_token
2- before_action {
3- fetch_keystore {
4- keystore_resource {
5- keystore_config_id: 73713
6- keyname: " dpebot_codecov_token"
7- }
8- }
9- }
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Copyright 2019 Google LLC
4+ #
5+ # Licensed under the Apache License, Version 2.0 (the "License");
6+ # you may not use this file except in compliance with the License.
7+ # You may obtain a copy of the License at
8+ #
9+ # https://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
16+
17+ set -eo pipefail
18+
19+ export NPM_CONFIG_PREFIX=/home/node/.npm-global
20+
21+ GITHUB_TOKEN=$( cat $KOKORO_KEYSTORE_DIR /73713_yoshi-automation-github-key)
22+
23+ npx release-please candidate-issue --token=$GITHUB_TOKEN \
24+ --repo-url=googleapis/nodejs-error-reporting \
25+ --package-name=@google-cloud/error-reporting
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Copyright 2019 Google LLC
4+ #
5+ # Licensed under the Apache License, Version 2.0 (the "License");
6+ # you may not use this file except in compliance with the License.
7+ # You may obtain a copy of the License at
8+ #
9+ # https://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
16+
17+ set -eo pipefail
18+
19+ export NPM_CONFIG_PREFIX=/home/node/.npm-global
20+
21+ GITHUB_TOKEN=$( cat $KOKORO_KEYSTORE_DIR /73713_yoshi-automation-github-key)
22+
23+ npx release-please detect-checked --token=$GITHUB_TOKEN \
24+ --repo-url=googleapis/nodejs-error-reporting \
25+ --package-name=@google-cloud/error-reporting
Original file line number Diff line number Diff line change 1+ before_action {
2+ fetch_keystore {
3+ keystore_resource {
4+ keystore_config_id: 73713
5+ keyname: " yoshi-automation-github-key"
6+ }
7+ }
8+ }
Original file line number Diff line number Diff line change @@ -9,15 +9,6 @@ before_action {
99 }
1010}
1111
12- before_action {
13- fetch_keystore {
14- keystore_resource {
15- keystore_config_id: 73713
16- keyname: " yoshi-automation-github-key"
17- }
18- }
19- }
20-
2112before_action {
2213 fetch_keystore {
2314 keystore_resource {
Original file line number Diff line number Diff line change 1+ # Build logs will be here
2+ action {
3+ define_artifacts {
4+ regex: " **/*sponge_log.xml"
5+ }
6+ }
7+
8+ # Download trampoline resources.
9+ gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/trampoline"
10+
11+ # Use the trampoline script to run in docker.
12+ build_file: " nodejs-error-reporting/.kokoro/trampoline.sh"
13+
14+ # Configure the docker image for kokoro-trampoline.
15+ env_vars: {
16+ key: " TRAMPOLINE_IMAGE"
17+ value: " gcr.io/cloud-devrel-kokoro-resources/node:10-user"
18+ }
19+ env_vars: {
20+ key: " TRAMPOLINE_BUILD_FILE"
21+ value: " github/nodejs-error-reporting/.kokoro/release-candidate-issue.sh"
22+ }
Original file line number Diff line number Diff line change 1+ # Build logs will be here
2+ action {
3+ define_artifacts {
4+ regex: " **/*sponge_log.xml"
5+ }
6+ }
7+
8+ # Download trampoline resources.
9+ gfile_resources: " /bigstore/cloud-devrel-kokoro-resources/trampoline"
10+
11+ # Use the trampoline script to run in docker.
12+ build_file: " nodejs-error-reporting/.kokoro/trampoline.sh"
13+
14+ # Configure the docker image for kokoro-trampoline.
15+ env_vars: {
16+ key: " TRAMPOLINE_IMAGE"
17+ value: " gcr.io/cloud-devrel-kokoro-resources/node:10-user"
18+ }
19+ env_vars: {
20+ key: " TRAMPOLINE_BUILD_FILE"
21+ value: " github/nodejs-error-reporting/.kokoro/release-requested.sh"
22+ }
You can’t perform that action at this time.
0 commit comments