kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/extractors/gcp/config/testdata/mvn-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    name: gcr.io/cloud-builders/git
    12    id: CLONE
    13    waitFor:
    14    - '-'
    15  - args:
    16    - checkout
    17    - ${_COMMIT}
    18    name: gcr.io/cloud-builders/git
    19    dir: /workspace/code
    20    id: CHECKOUT
    21    waitFor:
    22     - CLONE
    23  - name: gcr.io/kythe-public/kythe-javac-extractor-artifacts:stable
    24    id: JAVA-ARTIFACTS
    25    volumes:
    26    - name: kythe_extractors
    27      path: /opt/kythe/extractors
    28    waitFor:
    29    - '-'
    30  - args:
    31    - /workspace/code/pom.xml
    32    id: PREPROCESS0
    33    name: gcr.io/kythe-public/build-preprocessor:stable
    34    waitFor:
    35      - CHECKOUT
    36  - args:
    37    - clean
    38    - compile
    39    - test-compile
    40    - -f
    41    - /workspace/code/pom.xml
    42    - -Dmaven.compiler.forceJavacCompilerUse=true
    43    - -Dmaven.compiler.fork=true
    44    - -Dmaven.compiler.executable=/opt/kythe/extractors/javac-wrapper.sh
    45    entrypoint: mvn
    46    env:
    47    - KYTHE_CORPUS=${_CORPUS}
    48    - KYTHE_OUTPUT_DIRECTORY=/workspace/output
    49    - KYTHE_ROOT_DIRECTORY=/workspace/code
    50    - JAVAC_EXTRACTOR_JAR=/opt/kythe/extractors/javac_extractor.jar
    51    - REAL_JAVAC=/usr/bin/javac
    52    - KYTHE_JAVA_RUNTIME_OPTIONS=-Xbootclasspath/p:/opt/kythe/extractors/javac9_tools.jar
    53    id: EXTRACT0
    54    name: maven:3.6.0-jdk-8-slim
    55    volumes:
    56    - name: kythe_extractors
    57      path: /opt/kythe/extractors
    58    waitFor:
    59      - JAVA-ARTIFACTS
    60      - PREPROCESS0
    61  - args:
    62    - /workspace/code/somesubdir/pom.xml
    63    id: PREPROCESS1
    64    name: gcr.io/kythe-public/build-preprocessor:stable
    65    waitFor:
    66      - CHECKOUT
    67  - args:
    68    - clean
    69    - compile
    70    - test-compile
    71    - -f
    72    - /workspace/code/somesubdir/pom.xml
    73    - -Dmaven.compiler.forceJavacCompilerUse=true
    74    - -Dmaven.compiler.fork=true
    75    - -Dmaven.compiler.executable=/opt/kythe/extractors/javac-wrapper.sh
    76    entrypoint: mvn
    77    env:
    78    - KYTHE_CORPUS=${_CORPUS}
    79    - KYTHE_OUTPUT_DIRECTORY=/workspace/output
    80    - KYTHE_ROOT_DIRECTORY=/workspace/code/somesubdir
    81    - JAVAC_EXTRACTOR_JAR=/opt/kythe/extractors/javac_extractor.jar
    82    - REAL_JAVAC=/usr/bin/javac
    83    - KYTHE_JAVA_RUNTIME_OPTIONS=-Xbootclasspath/p:/opt/kythe/extractors/javac9_tools.jar
    84    id: EXTRACT1
    85    name: maven:3.6.0-jdk-8-slim
    86    volumes:
    87    - name: kythe_extractors
    88      path: /opt/kythe/extractors
    89    waitFor:
    90      - JAVA-ARTIFACTS
    91      - PREPROCESS1
    92  - args:
    93    - -c
    94    - /opt/kythe/tools/kzip merge --output /workspace/output/${_COMMIT}.kzip /workspace/output/*.kzip
    95    entrypoint: bash
    96    id: MERGE
    97    name: gcr.io/kythe-public/kzip-tools:stable
    98  tags:
    99    - ${_CORPUS}
   100    - kythe_extract_maven