kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/extractors/gcp/config/testdata/gradle-subdir.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  - id: JAVA-ARTIFACTS
    24    name: gcr.io/kythe-public/kythe-javac-extractor-artifacts:stable
    25    volumes:
    26    - name: kythe_extractors
    27      path: /opt/kythe/extractors
    28    waitFor:
    29    - '-'
    30  - args:
    31    - /workspace/code/othersubdir/build.gradle
    32    id: PREPROCESS
    33    name: gcr.io/kythe-public/build-preprocessor:stable
    34    waitFor:
    35    - CHECKOUT
    36  - args:
    37    - clean
    38    - build
    39    - -b
    40    - /workspace/code/othersubdir/build.gradle
    41    entrypoint: gradle
    42    env:
    43    - KYTHE_CORPUS=${_CORPUS}
    44    - KYTHE_OUTPUT_DIRECTORY=/workspace/output
    45    - KYTHE_ROOT_DIRECTORY=/workspace/code/othersubdir
    46    - JAVAC_EXTRACTOR_JAR=/opt/kythe/extractors/javac_extractor.jar
    47    - REAL_JAVAC=/usr/bin/javac
    48    - KYTHE_JAVA_RUNTIME_OPTIONS=-Xbootclasspath/p:/opt/kythe/extractors/javac9_tools.jar
    49    id: EXTRACT
    50    name: gradle:5.2.1-jdk8-slim
    51    volumes:
    52    - name: kythe_extractors
    53      path: /opt/kythe/extractors
    54    waitFor:
    55    - JAVA-ARTIFACTS
    56    - PREPROCESS
    57  - args:
    58    - -c
    59    - /opt/kythe/tools/kzip merge --output /workspace/output/${_COMMIT}.kzip
    60      /workspace/output/*.kzip
    61    entrypoint: bash
    62    id: MERGE
    63    name: gcr.io/kythe-public/kzip-tools:stable
    64  tags:
    65    - ${_CORPUS}
    66    - kythe_extract_gradle