Skip to content

Commit

Permalink
Update GA to use latest JDK-21 (opensearch-project#565)
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta authored Jan 29, 2024
1 parent f9937a4 commit 51f9d6f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
needs: Get-CI-Image-Tag
strategy:
matrix:
# Restricting java 21 to 21.0.1 due to ongoing bug in JDK 21.0.2 https://bugs.openjdk.org/browse/JDK-8323659. Once the fix https://github.com/opensearch-project/OpenSearch/pull/11968 get merged this change will be reverted.
java: [11, 17, 21.0.1]
java: [11, 17, 21]
os: [ubuntu-latest]

name: Gradle Check Linux
Expand Down Expand Up @@ -57,8 +56,7 @@ jobs:
Check-neural-search-windows:
strategy:
matrix:
# Restricting java 21 to 21.0.1 due to ongoing bug in JDK 21.0.2 https://bugs.openjdk.org/browse/JDK-8323659. Once the fix https://github.com/opensearch-project/OpenSearch/pull/11968 get merged this change will be reverted.
java: [11, 17, 21.0.1]
java: [11, 17, 21]
os: [windows-latest]

name: Gradle Check Windows
Expand Down Expand Up @@ -86,8 +84,7 @@ jobs:
needs: Get-CI-Image-Tag
strategy:
matrix:
# Restricting java 21 to 21.0.1 due to ongoing bug in JDK 21.0.2 https://bugs.openjdk.org/browse/JDK-8323659. Once the fix https://github.com/opensearch-project/OpenSearch/pull/11968 get merged this change will be reverted.
java: [11, 17, 21.0.1]
java: [11, 17, 21]
os: [ubuntu-latest]

name: Pre-commit Linux
Expand Down Expand Up @@ -121,8 +118,7 @@ jobs:
Precommit-neural-search-windows:
strategy:
matrix:
# Restricting java 21 to 21.0.1 due to ongoing bug in JDK 21.0.2 https://bugs.openjdk.org/browse/JDK-8323659. Once the fix https://github.com/opensearch-project/OpenSearch/pull/11968 get merged this change will be reverted.
java: [11, 17, 21.0.1]
java: [11, 17, 21]
os: [windows-latest]

name: Pre-commit Windows
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/backwards_compatibility_tests_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ jobs:
Restart-Upgrade-BWCTests-NeuralSearch:
strategy:
matrix:
# Restricting java 21 to 21.0.1 due to ongoing bug in JDK 21.0.2 https://bugs.openjdk.org/browse/JDK-8323659. Once the fix https://github.com/opensearch-project/OpenSearch/pull/11968 get merged this change will be reverted.
java: [ 11, 17, 21.0.1 ]
java: [ 11, 17, 21 ]
os: [ubuntu-latest,windows-latest]
bwc_version : ["2.9.0","2.10.0","2.11.0","2.12.0-SNAPSHOT"]
opensearch_version : [ "3.0.0-SNAPSHOT" ]
Expand All @@ -41,8 +40,7 @@ jobs:
Rolling-Upgrade-BWCTests-NeuralSearch:
strategy:
matrix:
# Restricting java 21 to 21.0.1 due to ongoing bug in JDK 21.0.2 https://bugs.openjdk.org/browse/JDK-8323659. Once the fix https://github.com/opensearch-project/OpenSearch/pull/11968 get merged this change will be reverted.
java: [ 11, 17, 21.0.1 ]
java: [ 11, 17, 21 ]
os: [ubuntu-latest,windows-latest]
bwc_version: [ "2.12.0-SNAPSHOT" ]
opensearch_version: [ "3.0.0-SNAPSHOT" ]
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test_security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ jobs:
integ-test-with-security-linux:
strategy:
matrix:
# Restricting java 21 to 21.0.1 due to ongoing bug in JDK 21.0.2 https://bugs.openjdk.org/browse/JDK-8323659. Once the fix https://github.com/opensearch-project/OpenSearch/pull/11968 get merged this change will be reverted.
java: [11, 17, 21.0.1]
java: [11, 17, 21]

name: Run Integration Tests on Linux
runs-on: ubuntu-latest
Expand Down

0 comments on commit 51f9d6f

Please sign in to comment.