kythe.io@v0.0.68-0.20240422202219-7225dbc01741/kythe/go/extractors/gcp/config/testdata/mvn.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: PREPROCESS 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: EXTRACT 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 - PREPROCESS 61 - args: 62 - -c 63 - /opt/kythe/tools/kzip merge --output /workspace/output/${_COMMIT}.kzip /workspace/output/*.kzip 64 entrypoint: bash 65 id: MERGE 66 name: gcr.io/kythe-public/kzip-tools:stable 67 tags: 68 - ${_CORPUS} 69 - kythe_extract_maven