mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-05 20:48:22 +00:00
This change changes the way to run our test suites in JVMs configured in FIPS 140 approved mode. It does so by: - Configuring any given runtime Java in FIPS mode with the bundled policy and security properties files, setting the system properties java.security.properties and java.security.policy with the == operator that overrides the default JVM properties and policy. - When runtime java is 11 and higher, using BouncyCastle FIPS Cryptographic provider and BCJSSE in FIPS mode. These are used as testRuntime dependencies for unit tests and internal clusters, and copied (relevant jars) explicitly to the lib directory for testclusters used in REST tests - When runtime java is 8, using BouncyCastle FIPS Cryptographic provider and SunJSSE in FIPS mode. Running the tests in FIPS 140 approved mode doesn't require an additional configuration either in CI workers or locally and is controlled by specifying -Dtests.fips.enabled=true
20 lines
480 B
YAML
20 lines
480 B
YAML
# This file is used as part of a matrix build in Jenkins where the
|
|
# values below are included as an axis of the matrix.
|
|
|
|
# This axis of the build matrix represents the versions of Java on
|
|
# which Elasticsearch will be tested. Valid Java versions are 'java'
|
|
# or 'openjdk' followed by the major release number.
|
|
|
|
ES_RUNTIME_JAVA:
|
|
- java8
|
|
- java11
|
|
- openjdk13
|
|
- openjdk14
|
|
- openjdk15
|
|
- zulu8
|
|
- zulu11
|
|
- corretto11
|
|
- corretto8
|
|
- adoptopenjdk11
|
|
- adoptopenjdk8
|