File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed
Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -140,12 +140,7 @@ steps:
140140 command : |
141141 set -euo pipefail
142142
143- docker build -t test-runner-image -f x-pack/distributions/internal/observabilitySRE/docker/Dockerfile .
144- docker run test-runner-image /bin/bash -c '
145- source ci/get-test-half.sh
146- specs=\$(get_test_half 0)
147- ./gradlew --info --stacktrace -PrunTestsInFIPSMode=true runIntegrationTests -PrubyIntegrationSpecs="$specs"
148- '
143+ ci/run-integration-tests-fips.sh 0
149144
150145 - label : " :lab_coat: Integration Tests - FIPS mode / part 2"
151146 key : " integration-tests-fips-part-2"
@@ -162,12 +157,7 @@ steps:
162157 command : |
163158 set -euo pipefail
164159
165- docker build -t test-runner-image -f x-pack/distributions/internal/observabilitySRE/docker/Dockerfile .
166- docker run test-runner-image /bin/bash -c '
167- source ci/get-test-half.sh
168- specs=\$(get_test_half 1)
169- ./gradlew --info --stacktrace -PrunTestsInFIPSMode=true runIntegrationTests -PrubyIntegrationSpecs="$specs"
170- '
160+ ci/run-integration-tests-fips.sh 1
171161
172162 - label : " :lab_coat: Integration Tests / part 1"
173163 key : " integration-tests-part-1"
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # get_test_half returns either the first or second half of integration tests
3+ # Usage: get_test_half <half_number>
4+ # half_number: 0 for first half, 1 for second half
5+
6+ half_number=$1
7+ docker build -t test-runner-image -f x-pack/distributions/internal/observabilitySRE/docker/Dockerfile .
8+ docker run test-runner-image /bin/bash -c "
9+ source ci/get-test-half.sh
10+ specs=$( get_test_half $half_number )
11+ ./gradlew --info --stacktrace -PrunTestsInFIPSMode=true runIntegrationTests -PrubyIntegrationSpecs=\"\$ specs\"
12+ "
You can’t perform that action at this time.
0 commit comments