Skip to content

Commit

Permalink
Update CI to use jdk-21
Browse files Browse the repository at this point in the history
This updates the CI system to use jdk-21, which is latest LTS supported version.
Coming from opensearch-project/OpenSearch#10334

Signed-off-by: John Mazanec <jmazane@amazon.com>
  • Loading branch information
jmazanec15 committed Nov 6, 2023
1 parent fa57b4b commit 8fbb1c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
Build-k-NN-Linux:
strategy:
matrix:
java: [11, 17]
java: [11, 17, 21]

name: Build and Test k-NN Plugin on Linux
runs-on: ubuntu-latest
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
Build-k-NN-MacOS:
strategy:
matrix:
java: [ 11, 17 ]
java: [ 11, 17, 21 ]

name: Build and Test k-NN Plugin on MacOS
needs: Get-CI-Image-Tag
Expand All @@ -84,7 +84,7 @@ jobs:
Build-k-NN-Windows:
strategy:
matrix:
java: [ 11, 17 ]
java: [ 11, 17, 21 ]

name: Build and Test k-NN Plugin on Windows
needs: Get-CI-Image-Tag
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/backwards_compatibility_tests_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
Restart-Upgrade-BWCTests-k-NN:
strategy:
matrix:
java: [ 11, 17 ]
java: [ 11, 17, 21 ]
os: [ubuntu-latest]
bwc_version : [ "2.0.1", "2.1.0", "2.2.1", "2.3.0", "2.4.1", "2.5.0", "2.6.0", "2.7.0", "2.8.0", "2.9.0", "2.10.0", "2.11.0-SNAPSHOT"]
opensearch_version : [ "3.0.0-SNAPSHOT" ]
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
Rolling-Upgrade-BWCTests-k-NN:
strategy:
matrix:
java: [ 11, 17 ]
java: [ 11, 17, 21 ]
os: [ubuntu-latest]
bwc_version: [ "2.11.0-SNAPSHOT" ]
opensearch_version: [ "3.0.0-SNAPSHOT" ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
Build-ad:
strategy:
matrix:
java: [ 11,17 ]
java: [ 11,17,21 ]
os: [ubuntu-latest]
fail-fast: true

Expand Down

0 comments on commit 8fbb1c0

Please sign in to comment.