Skip to content
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

Make the boot jars in jib respect quarkus.jib.use-current-timestamp-file-modification #42486

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

Malandril
Copy link
Contributor

The jib plugin does not respect the quarkus.jib.use-current-timestamp-file-modification with the boot jars layer.
Itreuses the jar's timestamps because of AppCDS, even if AppCDS is absent.

This PR only preserves the jar's timestamp if AppCDS is present, otherwise it reuses the same modification time as the other layers.

This allow users to create images with layers that will change less often, for exemple when building in clean environments.

Copy link
Member

@gsmet gsmet left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! I think it makes perfect sense.

Copy link

quarkus-bot bot commented Aug 12, 2024

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit b401c5a.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

You can consult the Develocity build scans.

@gsmet gsmet merged commit 92a1867 into quarkusio:main Aug 13, 2024
22 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.14 - main milestone Aug 13, 2024
@gsmet gsmet modified the milestones: 3.14.0.CR1, 3.13.3 Aug 19, 2024
@Malandril Malandril deleted the jib-timestamp-boot-libs branch September 1, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants