Skip to content

Commit

Permalink
Breakup FIPS CI testing jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-vieira committed Jul 13, 2022
1 parent 5e330af commit c211984
Showing 1 changed file with 40 additions and 8 deletions.
48 changes: 40 additions & 8 deletions .ci/jobs.t/elastic+elasticsearch+periodic+java-fips-matrix.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c211984

Please sign in to comment.