-
Notifications
You must be signed in to change notification settings - Fork 90
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
Add devfile for the Vert.x Java Stack with runtime ubi8/openjdk-11 image #295
Add devfile for the Vert.x Java Stack with runtime ubi8/openjdk-11 image #295
Conversation
Hi @RomanNikitenko. 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. |
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 think a better approach could be here to create a new version of the vert.x stack. We can take as an example the java-wildfly stack. WDYT?
/ok-to-test |
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 think a better approach could be here to create a new version of the vert.x stack. We can take as an example the java-wildfly stack. WDYT?
+1
thank you for the quick feedback! I'm going to provide the corresponding changes, but first I would like to confirm that I understand correctly what I should to do:
thanks in advance! |
@RomanNikitenko These are the correct changes 👍 Additionally, with the versions defined in their devfiles as 1.2.0 version currently does. |
Yes I think this is correct! |
Signed-off-by: Roman Nikitenko <[email protected]>
e5e3860
to
74302f0
Compare
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.
One correction needed:
- stacks/java-vertx/1.3..0/devfile.yaml
+ stacks/java-vertx/1.3.0/devfile.yaml
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.
Other than @michael-valdron comment above looks good to me
/lgtm
Signed-off-by: Roman Nikitenko <[email protected]>
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.
/lgtm
@thepetk @michael-valdron folks, could you please clarify who can provide guidance regarding the odo v3 failing PR check? |
I've changed default version for the Vert.x Java stack. |
Signed-off-by: Roman Nikitenko <[email protected]>
@RomanNikitenko is right, we skip vertx stack starter projects in the odo checks because they exceed the resource limit of GitHub workflows, following are some past related PRs: |
tests/check_odov3.sh
Outdated
--skip="stack: java-vertx version: 1.2.0 starter: vertx-cache-example-redhat" \ | ||
--skip="stack: java-vertx version: 1.2.0 starter: vertx-cache-example" \ | ||
--skip="stack: java-vertx version: 1.2.0 starter: vertx-circuit-breaker-example-redhat" \ | ||
--skip="stack: java-vertx version: 1.2.0 starter: vertx-circuit-breaker-example" \ | ||
--skip="stack: java-vertx version: 1.2.0 starter: vertx-crud-example-redhat" \ | ||
--skip="stack: java-vertx version: 1.2.0 starter: vertx-crud-example" \ | ||
--skip="stack: java-vertx version: 1.2.0 starter: vertx-configmap-example" \ | ||
--skip="stack: java-vertx version: 1.2.0 starter: vertx-http-example-redhat" \ | ||
--skip="stack: java-vertx version: 1.2.0 starter: vertx-secured-http-example" \ | ||
--skip="stack: java-vertx version: 1.2.0 starter: vertx-istio-circuit-breaker-booster" \ | ||
--skip="stack: java-vertx version: 1.2.0 starter: vertx-istio-distributed-tracing-booster" \ | ||
--skip="stack: java-vertx version: 1.2.0 starter: vertx-istio-routing-booster" \ | ||
--skip="stack: java-vertx version: 1.2.0 starter: vertx-istio-security-booster" \ | ||
--skip="stack: java-vertx version: 1.2.0 starter: vertx-messaging-work-queue-booster" \ |
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.
We'll need to keep both versions here, mainly so that this PR can pass since 1.2.0
was refactored in these changes.
Signed-off-by: Roman Nikitenko <[email protected]>
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ibuziuk, michael-valdron, RomanNikitenko, thepetk 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 |
thank you all for your support and guidance to get the PR merged! |
What does this PR do?:
At the moment
quay.io/eclipse/che-java11-maven:7.37.2
is used as a runtime image for the Vert.x Java Stack.The image was not updated about 2 years: https://quay.io/repository/eclipse/che-java11-maven?tab=tags.
Also, it's not possible to start Che-Code using that image - starting a workspace fails with the error:
/checode/checode-linux-libc/node: error while loading shared libraries: libbrotlidec.so.1: cannot open shared object file: No such file or directory
.I propose to add a new version of the devfile with the runtime image
registry.access.redhat.com/ubi8/openjdk-11:1.18-2
.Which issue(s) this PR fixes:
eclipse-che/che#22785
eclipse-che/che#22525
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)
How to test changes / Special notes to the reviewer: