Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set baseline JDK version to JDK-21 #1228

Merged
merged 2 commits into from
Jun 14, 2024

Conversation

dbwiddis
Copy link
Member

@dbwiddis dbwiddis commented Jun 8, 2024

Description

Sets the baseline JDK version to JDK-21

Issues Resolved

Resolves #1223

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link

codecov bot commented Jun 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.44%. Comparing base (4d400e3) to head (a3b6335).

Current head a3b6335 differs from pull request most recent head e6ec8ea

Please upload reports for the commit e6ec8ea to get more accurate results.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #1228      +/-   ##
============================================
- Coverage     71.48%   71.44%   -0.05%     
+ Complexity     4888     4882       -6     
============================================
  Files           518      518              
  Lines         22933    22932       -1     
  Branches       2260     2260              
============================================
- Hits          16394    16383      -11     
- Misses         5496     5503       +7     
- Partials       1043     1046       +3     
Flag Coverage Δ
plugin 71.44% <ø> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 8 files with indirect coverage changes

@amitgalitz
Copy link
Member

Can you also change this workflow, https://github.com/opensearch-project/anomaly-detection/blob/main/.github/workflows/maven-publish.yml this failed in flow-framework too.

@kaituo
Copy link
Collaborator

kaituo commented Jun 10, 2024

@dbwiddis Do you need to backport?

@dbwiddis
Copy link
Member Author

@dbwiddis Do you need to backport?

No. I specifically excluded the backport label. 2.x will continue to support older JDKs, the campaign is only for 3.x.

@dbwiddis dbwiddis merged commit 3f0fc8c into opensearch-project:main Jun 14, 2024
12 of 15 checks passed
@dbwiddis dbwiddis deleted the JDK21-for-3.0 branch June 14, 2024 04:56
kaituo added a commit to kaituo/anomaly-detection-dashboards-plugin that referenced this pull request Jun 19, 2024
This PR updates the frontend CI configuration to set up JDK 21, aligning with the baseline JDK 21 already set on the backend (opensearch-project/anomaly-detection#1228). Without this update, remote tests in CI would fail with the error: "error: release version 21 not supported."

Testing:
* Verified that remote tests in CI pass successfully with JDK 21.

Signed-off-by: Kaituo Li <[email protected]>
amitgalitz pushed a commit to opensearch-project/anomaly-detection-dashboards-plugin that referenced this pull request Jun 19, 2024
This PR updates the frontend CI configuration to set up JDK 21, aligning with the baseline JDK 21 already set on the backend (opensearch-project/anomaly-detection#1228). Without this update, remote tests in CI would fail with the error: "error: release version 21 not supported."

Testing:
* Verified that remote tests in CI pass successfully with JDK 21.

Signed-off-by: Kaituo Li <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra Changes to infrastructure, testing, CI/CD, pipelines, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Set anomaly-detection plugin 3.0.0 baseline JDK version to JDK-21
3 participants