|
@@ -1,9 +1,41 @@
|
|
|
---
|
|
|
-jjbb-template: matrix-gradle-unix.yml
|
|
|
-vars:
|
|
|
- - job-name: elastic+elasticsearch+%BRANCH%+periodic+java-fips-matrix
|
|
|
- - job-display-name: "elastic / elasticsearch # %BRANCH% - java fips compatibility matrix"
|
|
|
- - job-description: "Testing of the Elasticsearch %BRANCH% branch java FIPS compatibility matrix.\n"
|
|
|
- - matrix-yaml-file: ".ci/matrix-runtime-javas-fips.yml"
|
|
|
- - matrix-variable: ES_RUNTIME_JAVA
|
|
|
- - gradle-args: "-Dbwc.checkout.align=true -Dtests.fips.enabled=true check"
|
|
|
+- job:
|
|
|
+ name: "elastic+elasticsearch+%BRANCH%+periodic+java-fips-matrix"
|
|
|
+ display-name: "elastic / elasticsearch # %BRANCH% - java fips compatibility matrix"
|
|
|
+ description: "Testing of the Elasticsearch %BRANCH% branch java FIPS compatibility matrix.\n"
|
|
|
+ project-type: matrix
|
|
|
+ child-workspace: /dev/shm/elastic+elasticsearch+%BRANCH%+periodic+java-fips-matrix
|
|
|
+ node: master
|
|
|
+ scm:
|
|
|
+ - git:
|
|
|
+ wipe-workspace: false
|
|
|
+ axes:
|
|
|
+ - axis:
|
|
|
+ type: slave
|
|
|
+ name: nodes
|
|
|
+ values:
|
|
|
+ - "general-purpose"
|
|
|
+ - axis:
|
|
|
+ type: yaml
|
|
|
+ filename: ".ci/matrix-runtime-javas-fips.yml"
|
|
|
+ name: "ES_RUNTIME_JAVA"
|
|
|
+ # We shred out these jobs to avoid running out of memory given since we use a ramdisk workspace
|
|
|
+ - axis:
|
|
|
+ type: user-defined
|
|
|
+ name: GRADLE_TASK
|
|
|
+ values:
|
|
|
+ - 'checkPart1'
|
|
|
+ - 'checkPart2'
|
|
|
+ - 'bwcTestSnapshots'
|
|
|
+ - 'checkRestCompat'
|
|
|
+ builders:
|
|
|
+ - inject:
|
|
|
+ properties-file: '.ci/java-versions.properties'
|
|
|
+ properties-content: |
|
|
|
+ JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA
|
|
|
+ RUNTIME_JAVA_HOME=$HOME/.java/$ES_RUNTIME_JAVA
|
|
|
+ JAVA11_HOME=$HOME/.java/java11
|
|
|
+ JAVA16_HOME=$HOME/.java/openjdk16
|
|
|
+ - shell: |
|
|
|
+ #!/usr/local/bin/runbld --redirect-stderr
|
|
|
+ $WORKSPACE/.ci/scripts/run-gradle.sh -Dbwc.checkout.align=true -Dtests.fips.enabled=true $GRADLE_TASK
|