-
Notifications
You must be signed in to change notification settings - Fork 93
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
[java-springboot] Use LTS JDK 17 image #169
Conversation
Hi @rm3l. Thanks for your PR. I'm waiting for a devfile member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
fa02b90
to
6033b16
Compare
/uncc |
Now that we have multi-version support, it might be better to keep the old versions (1.2.0 and 2.0.0) there |
6033b16
to
9f4fd9a
Compare
Done. I hesitated to do so in the beginning mainly because of the maintenance overhead, but yes, it makes sense to keep the old versions. The default version of the stack still points to the old 1.2.0, but let me know if you think this should be changed. |
I would change it, but this is also a question or @elsony |
/ok-to-test |
I raised this in a meeting and we agreed we need to update our samples to work with parent v2.2 versions (currently they don't so if we change the default they will break). This is the tracking issue: devfile/api#1112 |
@kim-tsao @elsony @kadel devfile/api#1112 is mostly about parent Devfiles using v2.2.0 schema. But this PR is mostly about updating the container image. |
I'm not sure I have the full context for the usage of multiple sample versions for this case. But, fyi after the implementation of devfile/api#1209 we are able to have multiple versions of samples and add them to |
I think the initial point was whether to switch the default version of this stack to the latest one here (which would be using Devfile 2.2.0). However, the problem mentioned by Kim is that doing so would break the current samples.
Ok (correct me if I'm wrong), so devfile/api#1209 paved the way to supporting versioned samples, but the actual work of updating To move forward with this PR, I'm suggesting we decorrelate it from the work being done on samples, by updating the default version of this stack to the one using Devfile 2.1.0 but with JDK 17. This would keep backward compatibility with the current samples as I guess they would still be working with parent v2.1.0 (only with a different container image). |
Signed-off-by: Armel Soro <[email protected]>
Signed-off-by: Armel Soro <[email protected]>
1.3.0 is the most up-to-date version using Devfile 2.1.0 schema, for backward compatibility with current samples. We are purposely not using the most up-date version on 2.2.0 schema, as this would reportedly break current samples. See [1] for more context. [1] devfile#169 (comment) Signed-off-by: Armel Soro <[email protected]>
9f4fd9a
to
eb05706
Compare
As agreed with the rest of the team, I'm switching the default version of this stack to 1.3.0 (the one still on Devfile 2.1.0, but with a more recent JDK 17), for backward compatibility with the samples. Also rebased and force-pushed as the branch was a bit outdated. |
1.3.0 is the most up-to-date version using Devfile 2.1.0 schema, for backward compatibility with current samples. We are purposely not using the most up-date version on 2.2.0 schema, as this would reportedly break current samples. See [1] for more context. [1] devfile#169 (comment) Signed-off-by: Armel Soro <[email protected]>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kadel, rm3l The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What does this PR do?:
This updates the container image to
registry.access.redhat.com/ubi9/openjdk-17
, to keep up with the latest JDK LTS, security-wise.Also JDK 17 is now a requirement for recent versions of Spring Boot.
Which issue(s) this PR fixes:
—
PR acceptance criteria:
Have you read the devfile registry contributing guide and followed its instructions?
Does this repository's tests pass with your changes?
Does any documentation need to be updated with your changes?
Have you tested the changes with existing tools, i.e. Odo, Che, Console? (See devfile registry contributing guide on how to test changes)
Tested with
odo
.How to test changes / Special notes to the reviewer: