Skip to content

Commit

Permalink
feat(build): add cloud build configuration for presubmit tests (#4894)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahms committed Apr 22, 2021
1 parent dccc725 commit 407fa2b
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions kythe/release/cloudbuild/presubmit.yaml
@@ -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

0 comments on commit 407fa2b

Please sign in to comment.