-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gas): Declare Kokoro artifacts (#201)
- Loading branch information
Showing
8 changed files
with
131 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Format: //devtools/kokoro/config/proto/build.proto | ||
|
||
# Build logs will be here | ||
action { | ||
define_artifacts { | ||
regex: "**/*sponge_log.xml" | ||
} | ||
} | ||
|
||
# Download Ruby-cloud resources | ||
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-ruby" | ||
|
||
# Download trampoline resources | ||
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" | ||
|
||
# Use the trampoline script to run in docker. | ||
build_file: "ruby-common-tools/.kokoro/gas/trigger_trampoline.sh" | ||
|
||
# Configure the docker image for kokoro-trampoline. | ||
env_vars: { | ||
key: "TRAMPOLINE_IMAGE" | ||
value: "gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/release" | ||
} | ||
|
||
# Entrypoint | ||
env_vars: { | ||
key: "TRAMPOLINE_BUILD_FILE" | ||
value: ".kokoro/gas/trigger.sh" | ||
} | ||
|
||
# List of binary platforms for protobuf builds, colon-delimited. | ||
env_vars: { | ||
key: "GAS_PLATFORMS" | ||
value: "aarch64-linux:arm64-darwin:x64-mingw-ucrt:x64-mingw32:x86-linux:x86-mingw32:x86_64-darwin:x86_64-linux" | ||
} | ||
|
||
# List of minor Ruby versions for protobuf builds, colon-delimited. | ||
env_vars: { | ||
key: "GAS_RUBY_VERSIONS" | ||
value: "2.6:2.7:3.0:3.1:3.2" | ||
} | ||
|
||
# Path to the RubyGems API key file for the google-cloud account. | ||
env_vars: { | ||
key: "GAS_RUBYGEMS_KEY_FILE" | ||
value: "rubygems-token-cloud.txt" | ||
} | ||
|
||
# Store the packages uploaded to rubygems.org, which | ||
# we can later use to generate SBOMs and attestations. | ||
action { | ||
define_artifacts { | ||
regex: "github/ruby-common-tools/gas/artifacts/*.gem" | ||
strip_prefix: "github/ruby-common-tools/gas/artifacts" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
/workspace | ||
/artifacts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters