File tree Expand file tree Collapse file tree 3 files changed +65
-0
lines changed
Expand file tree Collapse file tree 3 files changed +65
-0
lines changed Original file line number Diff line number Diff line change 1+ # Format: //devtools/kokoro/config/proto/build.proto
2+
3+ # Build logs will be here
4+ action {
5+ define_artifacts {
6+ regex: " **/*sponge_log.xml"
7+ }
8+ }
9+
10+ # Use the trampoline script to run in docker.
11+ build_file: " gapic-generator-ruby/.kokoro/trampoline_v2.sh"
12+
13+ # Configure the docker image for kokoro-trampoline.
14+ env_vars: {
15+ key: " TRAMPOLINE_IMAGE"
16+ value: " us-central1-docker.pkg.dev/cloud-sdk-release-custom-pool/release-images/ruby-multi"
17+ }
18+
19+ env_vars: {
20+ key: " TRAMPOLINE_BUILD_FILE"
21+ value: " .kokoro/release-generators.sh"
22+ }
23+
24+ env_vars: {
25+ key: " SECRET_MANAGER_PROJECT_ID"
26+ value: " cloud-sdk-release-custom-pool"
27+ }
28+
29+ env_vars: {
30+ key: " SECRET_MANAGER_KEYS"
31+ value: " "
32+ }
33+
34+ # Pick up Rubygems key from internal keystore
35+ before_action {
36+ fetch_keystore {
37+ keystore_resource {
38+ keystore_config_id: 73713
39+ keyname: " rubygems-publish-key"
40+ backend: " blade:keystore-fastconfigpush"
41+ }
42+ }
43+ }
44+
45+ # Store the packages uploaded to rubygems.org, which
46+ # we can later use to generate SBOMs and attestations.
47+ action {
48+ define_artifacts {
49+ regex: " github/gapic-generator-ruby/*/pkg/*.gem"
50+ strip_prefix: " github"
51+ }
52+ }
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -eo pipefail
4+
5+ # Install gems in the user directory because the default install directory
6+ # is in a read-only location.
7+ export GEM_HOME=$HOME /.gem
8+ export PATH=$GEM_HOME /bin:$PATH
9+
10+ gem install --no-document toys
11+ git fetch --tags
12+ git switch gapic-generator/v$GEM_VERSION
13+ toys release perform -v --all=gapic-generator < /dev/null
You can’t perform that action at this time.
0 commit comments