Skip to content

Add quarkus-artifact.properties as an output of quarkus:build #1280

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

Merged
merged 2 commits into from
Jul 1, 2024

Conversation

gsmet
Copy link
Contributor

@gsmet gsmet commented Jul 1, 2024

Since the cache for quarkus:build has been fixed in the Quarkus CI, we are starting to see failures because the target/quarkus-artifact.properties is missing. This is because it's not part of the cache so whenever we have a cache hit, it's not restored.


When running ITs for native, we need quarkus-artifact.properties to be around so it needs to be part of the cache.

Also make it an input of Failsafe.
This file contains a relative path to the binary to run and a few additional metadata such as the full GraalVM version. Whenever this version has changed, we need to run the tests again so it makes sense to make it an input.

Note that we will need quarkusio/quarkus#41587 to be in so that quarkus-artifact.properties doesn't contain a timestamp.

@gsmet
Copy link
Contributor Author

gsmet commented Jul 1, 2024

/cc @jprinet

When running ITs for native, we need quarkus-artifact.properties to be
around so it needs to be part of the cache.

Also make it an input of Failsafe.
This file contains a relative path to the binary to run and a few
additional metadata such as the full GraalVM version.
Whenever this version has changed, we need to run the tests again so it
makes sense to make it an input.

Note that we will need quarkusio/quarkus#41587
to be in so that quarkus-artifact.properties doesn't contain a
timestamp.

Signed-off-by: Guillaume Smet <[email protected]>
@gsmet gsmet force-pushed the quarkus-artifact.properties branch from 15fc24e to fbac480 Compare July 1, 2024 14:44
@gsmet
Copy link
Contributor Author

gsmet commented Jul 1, 2024

Note that we will need a release of the extension and an update in Quarkus once this is included as it's in the way of our CI. Thanks!

@gsmet gsmet force-pushed the quarkus-artifact.properties branch from 279fc2a to eb64a6f Compare July 1, 2024 15:18
@jprinet jprinet merged commit 5942826 into gradle:main Jul 1, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants