-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Specify (build log and the like) why appcds archive cannot be created although quarkus.package.create-appcds is enabled #26004
Comments
/cc @geoand |
|
Thx for the hint with --debug 👍 I don't agree though. From a users point of view, activating app cds explicitly by setting |
That's a good point. I'll convert some of the debug messages to warnings |
Convert AppCDS output messages to warnings when the creation process fails
…fails Relates to: quarkusio#26004 (cherry picked from commit e96440d)
Description
I am currently struggling in getting app-cds to work. If I run my build locally everything works like a charm and gradle prints information to the command line regarding app cds archive being created:
Also if I have a look at the build directory, it shows the appcds directory:
Furthermore, if I inspect the created image (created by jib) with dive, it shows a
app-cds.jsa
file under /home/jboss in the resulting jib image.As soon as I run the same build on the gitlab pipeline though, the app cds archive is not created for some reason. There is no log output on in the builid pipeline, nor is there a appcds directory in the gradle build directory. When I open the resulting jib image with dive, it also does not contain the app-cds.jsa file.
Implementation ideas
Add additional log messages that indicate why the appcds archive cannot be created although the quarkus.package.create-appcds property is set to true. Thus we'll be able to find out what is gong wrong and what we can do to make appcds work even in gitlab.
The text was updated successfully, but these errors were encountered: