kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/extractors/gcp/config/testdata/bazel-multi.yaml (about)

     1  artifacts:
     2    objects:
     3      location: gs://${_BUCKET_NAME}/${_CORPUS}/
     4      paths:
     5      - /workspace/output/${_COMMIT}.kzip
     6  steps:
     7  - args:
     8    - clone
     9    - ${_REPO}
    10    - /workspace/code
    11    id: CLONE
    12    name: gcr.io/cloud-builders/git
    13    waitFor:
    14    - '-'
    15  - args:
    16    - checkout
    17    - ${_COMMIT}
    18    dir: /workspace/code
    19    id: CHECKOUT
    20    name: gcr.io/cloud-builders/git
    21    waitFor:
    22    - CLONE
    23  - args:
    24    - build
    25    - -k
    26    - --define
    27    - kythe_corpus=${_CORPUS}
    28    - //a/target/...
    29    - //another/target/...
    30    - //direct:target
    31    dir: /workspace/code
    32    id: EXTRACT
    33    name: gcr.io/kythe-public/bazel-extractor:stable
    34  - args:
    35    - mv
    36    - /workspace/output/compilations.kzip
    37    - /workspace/output/${_COMMIT}.kzip
    38    id: RENAME
    39    name: ubuntu
    40  tags:
    41    - ${_CORPUS}
    42    - kythe_extract_bazel