OpenSearch/.ci
Ioannis Kakavas ee202a642f
Enable tests in FIPS 140 in JDK 11 (#49485)
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
2020-01-27 11:14:52 +02:00
..
jobs.t Disable experimental job trigger 2019-12-19 14:42:23 -08:00
README.md Move periodic job to ES repo (#48570) 2019-11-13 17:12:42 +02:00
build.sh Require JDK 13 for compilation (#50004) 2019-12-11 16:29:15 -05:00
bwcVersions Add 7.6.0 staged version to BWC testing matrix 2020-01-23 15:03:14 -08:00
dockerOnLinuxExclusions Add Docker packaging tests on 7.x (#48857) 2019-11-05 15:17:59 +00:00
init.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
java-versions.properties Upgrade to Gradle 6.1 (#50453) 2020-01-16 13:58:29 -08:00
make-branch-config.sh Move periodic job to ES repo (#48570) 2019-11-13 17:12:42 +02:00
matrix-build-javas.yml Require JDK 13 for compilation (#50004) 2019-12-11 16:29:15 -05:00
matrix-java-exclusions.yml Java versions for ci (#29320) 2018-04-02 14:24:25 -04:00
matrix-runtime-javas.yml Enable tests in FIPS 140 in JDK 11 (#49485) 2020-01-27 11:14:52 +02:00
os.ps1 Read build and runtime java from properties file (#48355) 2019-10-23 13:23:40 +03:00
os.sh Add Docker packaging tests on 7.x (#48857) 2019-11-05 15:17:59 +00:00
packer_cache.sh Require JDK 13 for compilation (#50004) 2019-12-11 16:29:15 -05:00

README.md

CI configuration for Elasticsearch

Layout and Syntax

CI is run by Jenkins at elasticsearch-ci. Jobs live in the jobs.t directory, these are defined in YML using a syntax simmilar to JJB. Macros are not allowed, and each job must be defined in its own file. Merging of the default configuration is customized so unlike in standard JJB, it recurses into YML objects. Further (internal) documentation on the setup is available .