-
Notifications
You must be signed in to change notification settings - Fork 302
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
Remove java17 from 1.3 build matrix #1668
Remove java17 from 1.3 build matrix #1668
Conversation
922d21b
to
efb7189
Compare
Please rebase. |
…hed to 2.0 Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
efb7189
to
436f970
Compare
Are these needed to be removed? security/src/test/java/com/amazon/dlic/auth/http/jwt/HTTPJwtAuthenticatorTest.java Lines 57 to 63 in 77d8861
|
Codecov Report
@@ Coverage Diff @@
## 1.3 #1668 +/- ##
============================================
- Coverage 64.62% 64.59% -0.04%
+ Complexity 3216 3215 -1
============================================
Files 247 247
Lines 17352 17351 -1
Branches 3082 3082
============================================
- Hits 11214 11208 -6
- Misses 4591 4592 +1
- Partials 1547 1551 +4
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need this change. We can support additional versions of the JDK without impacting the distribution.
JDK 17 breaks security plugin 1.3: #1653 |
We can remove this once we fix the Java-17 bug... but we can leave it as is right now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JDK 17 breaks security plugin 1.3: #1653
Yes there is a bug, you cannot run the distribution on JDK17, and distribution 1.3 will not support JDK17.
The the security plugin build will need to support JDK17 for us to fix that issue. No reason to disable it to re-enable it slightly later. We aren't 'fixing' the problem by disabling the CI build in this PR.
Agreed...we can close this PR as this change won't is not affecting anything outside our CI pipeline |
@peternied @DarshitChanpura This PR is disabling JDK 17 only on 1.3 instead of JDK 17 will not be disabled on |
@DarshitChanpura IMHO, if 1.3 will not support JDK 17, those changes should be reverted. User is expected to see that 1.3 does not support JDK 17, which is explicitly documented, so it will be expected to fail those tests if users run those tests with JDK 17. The issues blocking JDK 17 support will only be fixed in 2.0 instead of 1.3. |
Okay...I'm gonna revert the test related change too...and we can decide whether we want to move forward with this merge or not. |
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
@@ -42,9 +41,6 @@ | |||
import org.opensearch.security.user.AuthCredentials; | |||
import org.opensearch.security.util.FakeRestRequest; | |||
import com.google.common.io.BaseEncoding; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Keep the empty row after imports.
Description
Removes Java-17 support from CI matrix as the expected behavior is that 1.3 will fail for Java-17. Refer this discussion more details: opensearch-project/job-scheduler#130
Check List
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.