kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/release/cloudbuild/presubmit.yaml (about)

     1  # Cloud Build configuration for mandatory presubmit tests.
     2  steps:
     3    - name: gcr.io/kythe-repo/bazelisk-builder-client
     4      id: bazel-minversion
     5      env:
     6        - USE_BAZEL_VERSION=min
     7      args:
     8        - bazel
     9        - test
    10        - '--config=remote'
    11        - //...
    12    - name: gcr.io/kythe-repo/bazelisk-builder-client
    13      id: bazel
    14      args:
    15        - bazel
    16        - test
    17        - '--config=remote'
    18        - //...
    19    - name: gcr.io/kythe-repo/bazelisk-builder-client
    20      id: bazel-java21
    21      args:
    22        - bazel
    23        - test
    24        - '--config=remote'
    25        - '--config=java21'
    26        - //kythe/java/...
    27        - //kythe/javatests/...
    28    - name: gcr.io/kythe-repo/bazelisk-builder-client
    29      id: bazel-release
    30      args:
    31        - bazel
    32        - test
    33        - '--config=remote'
    34        - '-c'
    35        - opt
    36        - '--stamp'
    37        - //...
    38        - //kythe/docs/schema
    39        - '//kythe/release:release_test'
    40    - name: gcr.io/kythe-repo/go-builder
    41      id: go-module
    42      args:
    43        - go
    44        - test
    45        - '-mod=readonly'
    46        - ./kythe/...
    47      waitFor:
    48        - '-'  # go test can run concurrently with the bazel tests.
    49  # Use a long timeout as some builds, particularly LLVM updates, can
    50  # exceed 30 minutes.
    51  timeout: 2700s
    52  options:
    53    # The increased scheduling time is more than offset by the substantially improved test runtime.
    54    machineType: E2_HIGHCPU_8