4747 diskSizeGb : 64
4848 retry :
4949 automatic :
50- - limit : 3
50+ # dont retry on failure while they are expected
51+ - limit : 0
5152 command : |
5253 set -euo pipefail
5354
@@ -77,6 +78,30 @@ steps:
7778 - " **/jacocoTestReport.xml"
7879 - " **/build/classes/**/*.*"
7980
81+ - label : " :java: Java unit tests - FIPS mode"
82+ key : " java-unit-tests-fips"
83+ agents :
84+ provider : gcp
85+ imageProject : elastic-images-prod
86+ image : family/platform-ingest-logstash-ubuntu-2204
87+ machineType : " n2-standard-4"
88+ diskSizeGb : 64
89+ retry :
90+ automatic :
91+ # dont retry on failure while they are expected
92+ - limit : 0
93+ env :
94+ ENABLE_SONARQUBE : true
95+ command : |
96+ set -euo pipefail
97+
98+ docker build -t test-runner-image -f x-pack/distributions/internal/observabilitySRE/docker/Dockerfile .
99+ docker run test-runner-image ./gradlew --info --stacktrace -PrunTestsInFIPSMode=true javaTests
100+ artifact_paths :
101+ - " **/build/test-results/javaTests/TEST-*.xml"
102+ - " **/jacocoTestReport.xml"
103+ - " **/build/classes/**/*.*"
104+
80105 - label : " :sonarqube: Continuous Code Inspection"
81106 if : |
82107 build.pull_request.id != null ||
@@ -98,6 +123,24 @@ steps:
98123 manual :
99124 allowed : true
100125
126+ - label : " :lab_coat: Integration Tests - FIPS mode"
127+ key : " integration-tests-fips"
128+ agents :
129+ provider : gcp
130+ imageProject : elastic-images-prod
131+ image : family/platform-ingest-logstash-ubuntu-2204
132+ machineType : " n2-standard-4"
133+ diskSizeGb : 64
134+ retry :
135+ automatic :
136+ # dont retry on failure while they are expected
137+ - limit : 0
138+ command : |
139+ set -euo pipefail
140+
141+ docker build -t test-runner-image -f x-pack/distributions/internal/observabilitySRE/docker/Dockerfile .
142+ docker run test-runner-image ./gradlew --info --stacktrace -PrunTestsInFIPSMode=true runIntegrationTests
143+
101144 - label : " :lab_coat: Integration Tests / part 1"
102145 key : " integration-tests-part-1"
103146 agents :
0 commit comments