From f5c522da39f0183f23f62b488a99bb233f81f8aa Mon Sep 17 00:00:00 2001 From: Daniel Widdis Date: Fri, 16 Aug 2024 16:42:43 -0700 Subject: [PATCH] Change JDK build matrix to 11+ LTS versions Signed-off-by: Daniel Widdis --- .github/workflows/benchmark.yml | 4 ++-- .github/workflows/test_build_multi_platform.yml | 4 ++-- .github/workflows/test_bwc.yml | 4 ++-- .github/workflows/test_security.yml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 87d4351e7..856b5d3b0 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -11,7 +11,7 @@ jobs: Build-ad: strategy: matrix: - java: [14] + java: [17] fail-fast: false name: Run Anomaly detection model performance benchmark @@ -30,4 +30,4 @@ jobs: - name: Build and Run Tests run: | ./gradlew ':test' --tests "org.opensearch.ad.ml.HCADModelPerfTests" -Dtests.seed=2AEBDBBAE75AC5E0 -Dtests.security.manager=false -Dtests.locale=es-CU -Dtests.timezone=Chile/EasterIsland -Dtest.logs=true -Dmodel-benchmark=true - ./gradlew integTest --tests "org.opensearch.ad.e2e.SingleStreamModelPerfIT" -Dtests.seed=60CDDB34427ACD0C -Dtests.security.manager=false -Dtests.locale=kab-DZ -Dtests.timezone=Asia/Hebron -Dtest.logs=true -Dmodel-benchmark=true \ No newline at end of file + ./gradlew integTest --tests "org.opensearch.ad.e2e.SingleStreamModelPerfIT" -Dtests.seed=60CDDB34427ACD0C -Dtests.security.manager=false -Dtests.locale=kab-DZ -Dtests.timezone=Asia/Hebron -Dtest.logs=true -Dmodel-benchmark=true diff --git a/.github/workflows/test_build_multi_platform.yml b/.github/workflows/test_build_multi_platform.yml index b965366b7..f6760721f 100644 --- a/.github/workflows/test_build_multi_platform.yml +++ b/.github/workflows/test_build_multi_platform.yml @@ -11,7 +11,7 @@ jobs: Build-ad-windows: strategy: matrix: - java: [8, 11, 14] + java: [11, 17, 21] name: Build and Test Anomaly Detection Plugin on Windows runs-on: windows-latest steps: @@ -36,7 +36,7 @@ jobs: Build-ad: strategy: matrix: - java: [8, 11, 14] + java: [11, 17, 21] os: [ubuntu-latest, macos-latest] fail-fast: false diff --git a/.github/workflows/test_bwc.yml b/.github/workflows/test_bwc.yml index 98bd0177f..7fcc786f5 100644 --- a/.github/workflows/test_bwc.yml +++ b/.github/workflows/test_bwc.yml @@ -11,7 +11,7 @@ jobs: Build-ad: strategy: matrix: - java: [8, 11, 14] + java: [11, 17, 21] fail-fast: false name: Test Anomaly detection BWC @@ -42,4 +42,4 @@ jobs: - name: Run AD Backwards Compatibility Tests run: | echo "Running backwards compatibility tests ..." - ./gradlew bwcTestSuite -Dtests.security.manager=false \ No newline at end of file + ./gradlew bwcTestSuite -Dtests.security.manager=false diff --git a/.github/workflows/test_security.yml b/.github/workflows/test_security.yml index e519c3568..7c79cf297 100644 --- a/.github/workflows/test_security.yml +++ b/.github/workflows/test_security.yml @@ -11,7 +11,7 @@ jobs: Build-ad: strategy: matrix: - java: [8, 11, 14] + java: [11, 17, 21] fail-fast: false name: Security test workflow for Anomaly Detection @@ -75,4 +75,4 @@ jobs: ./gradlew integTest -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="docker-cluster" -Dhttps=true -Duser=admin -Dpassword=admin else echo "Security plugin is NOT available, skipping integration tests" - fi \ No newline at end of file + fi