Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(build): add cloud build configuration for presubmit tests (#4894)
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 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,43 @@ | ||
# Cloud Build configuration for mandatory presubmit tests. | ||
steps: | ||
- name: gcr.io/kythe-repo/bazelisk-builder-client | ||
id: bazel | ||
args: | ||
- bazel | ||
- test | ||
- '--config=remote' | ||
- //... | ||
- name: gcr.io/kythe-repo/bazelisk-builder-client | ||
id: bazel-minversion | ||
env: | ||
- USE_BAZEL_VERSION=min | ||
args: | ||
- bazel | ||
- test | ||
- '--config=remote' | ||
- //... | ||
- name: gcr.io/kythe-repo/bazelisk-builder-client | ||
id: bazel-release | ||
args: | ||
- bazel | ||
- test | ||
- '--config=remote' | ||
- '-c' | ||
- opt | ||
- '--stamp' | ||
- //... | ||
- //kythe/docs/schema | ||
- '//kythe/release:release_test' | ||
- name: gcr.io/kythe-repo/go-builder | ||
id: go-module | ||
args: | ||
- go | ||
- test | ||
- '-mod=readonly' | ||
- ./kythe/... | ||
waitFor: | ||
- '-' # go test can run concurrently with the bazel tests. | ||
timeout: 1800s | ||
options: | ||
# The increased scheduling time is more than offset by the substantially improved test runtime. | ||
machineType: E2_HIGHCPU_8 |