Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Use 20.0.0-java8 tag of centos-quarkus-maven #220

Merged
merged 1 commit into from
Apr 8, 2020

Conversation

sunix
Copy link
Contributor

@sunix sunix commented Mar 31, 2020

Use latest tag of centos-quarkus-maven: 20.0.0-java8
Needed to have native compilation working with the default Quarkus sample

@@ -10,5 +10,5 @@ che-nodejs8-centos registry.centos.org/che-stacks/centos-nodejs
che-php-7 quay.io/eclipse/che-php-base:7.4
che-python-3.6 centos/python-36-centos7:1
che-python-3.7 python:3.7.4-slim
che-quarkus quay.io/quarkus/centos-quarkus-maven:19.2.1
che-quarkus quay.io/quarkus/centos-quarkus-maven:20.0.0-java8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we could bump to Java11 version as well ? (before it was only providing java8)

Copy link
Contributor Author

@sunix sunix Apr 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@benoitf Do you want to use Java11 instead of 8 ? or provide both alternatives in our base image ?

Copy link
Contributor

@svor svor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it on che.openshift.io and Start development server command was failed with an error:

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.097 s
[INFO] Finished at: 2020-04-06T09:33:54Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:1.3.1.Final:dev (default-cli) on project getting-started: Detected Maven Version (3.6.1)  is not supported, it must be in [3.6.2,). -> [Help 1]
[ERROR]

I'd say it couldn't be merged before fixing that problem

@sunix
Copy link
Contributor Author

sunix commented Apr 6, 2020

@svor we have the same issue with the default stack

@sunix
Copy link
Contributor Author

sunix commented Apr 6, 2020

looks like this is an issue with 1.3.1-Final, quarkusio/quarkus-quickstarts@ceb711a
shouldn't we use a tagged version ? unless we have that stack tested in our CI.

@svor
Copy link
Contributor

svor commented Apr 6, 2020

@sunix I think we can do that or reference to some specific commit. Could you please update the devfile and try if it works. Or should we crate another issue for that?

@sunix
Copy link
Contributor Author

sunix commented Apr 6, 2020

@svor it's going to be fixed in the next days I hope quarkusio/quarkus-images#63 so let's wait and I will update my PR with the new version.

@sunix sunix changed the title Use 20.0.0-java8 version of centos-quarkus-maven Use 20.0.0-java8 tag of centos-quarkus-maven Apr 6, 2020
@sunix
Copy link
Contributor Author

sunix commented Apr 6, 2020

@svor quarkusio/quarkus-images#63 (comment)
Are you sure you have tested with 20.0.0-java8 ?

@svor
Copy link
Contributor

svor commented Apr 7, 2020

@sunix I double check it and can confirm that it works nice with quay.io/quarkus/centos-quarkus-maven:20.0.0-java8 👍
Just one remark we have to change meta.yaml to point new mvn version

@sunix sunix force-pushed the centos-quarkus-maven-20.0.0-java8 branch from 3805283 to 8bc9a59 Compare April 8, 2020 08:33
@sunix
Copy link
Contributor Author

sunix commented Apr 8, 2020

@svor could you review again ?
also, this one should be backported to CRW and included in the next Che release as a blocker WDYT ?

- to fix the build of the default Quarkus sample which has moved Quarkus 1.3.1-Final and requires Maven 3.6.3
- to have native compilation working with the default Quarkus sample
@sunix sunix force-pushed the centos-quarkus-maven-20.0.0-java8 branch from 8bc9a59 to bc6764c Compare April 8, 2020 08:37
Copy link
Contributor

@svor svor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! As I remember we don't use quay.io/quarkus/centos-quarkus-maven in CRW, we install all tools (GraalVM, Maven, Java) and build our custom image for that. @nickboldt can correct me if I'm wrong.

@sunix sunix merged commit 6e2ea40 into master Apr 8, 2020
@sunix sunix deleted the centos-quarkus-maven-20.0.0-java8 branch April 8, 2020 09:03
@sunix sunix mentioned this pull request Apr 10, 2020
4 tasks
sparkoo pushed a commit to sparkoo/che-devfile-registry that referenced this pull request Dec 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants