-
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
Enable Develocity build cache by default and document it better #38758
Conversation
1e0ed14
to
c7715fd
Compare
CONTRIBUTING.md
Outdated
|
||
If you have a need or interest to report build times, you will need to get an API key for the GE instance. It is mainly relevant for those working on optimizing the Quarkus build. Ping on quarkus-dev mailing list or on Zulip if you need one. | ||
If you have a need or interest to share your build scans and use the build cache, you will need to get an account for the Develocity instance. | ||
It is only relevant for members of the Quarkus team and you should contact either Max Andersen or Guillaume Smet to set up your account. |
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.
any contributor can get it so no real need to put request in private is there?
@@ -26,7 +26,7 @@ | |||
</buildScan> | |||
<buildCache> | |||
<local> | |||
<enabled>#{env['GRADLE_LOCAL_BUILD_CACHE'] != null and env['RELEASE_GITHUB_TOKEN'] == null and properties['no-build-cache'] == null}</enabled> | |||
<enabled>#{env['RELEASE_GITHUB_TOKEN'] == null and properties['no-build-cache'] == null}</enabled> |
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.
shouldn't this not only be enabled if access key available?
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.
Ah ah funnily enough, I thought about that during the meeting and already pushed something related.
This is the local cache so we don't care but I added the check for the remote cache just below though (but my understanding is that it's handled anyway).
This comment has been minimized.
This comment has been minimized.
a2970a9
to
8a8a911
Compare
This comment has been minimized.
This comment has been minimized.
8a8a911
to
9dd85a6
Compare
This comment has been minimized.
This comment has been minimized.
9dd85a6
to
af4d918
Compare
This comment has been minimized.
This comment has been minimized.
af4d918
to
dbe13c8
Compare
dbe13c8
to
af77af3
Compare
This comment has been minimized.
This comment has been minimized.
Only the compile goal is problematic for extensions.
And update it before releasing. This is important for the build cache as we are generating checksums of zips which are dependent on the timestamp.
af77af3
to
248a75b
Compare
Status for workflow
|
Status | Name | Step | Failures | Logs | Raw logs | Build scan |
---|---|---|---|---|---|---|
✖ | Native Tests - Data5 | Build |
Failures | Logs | Raw logs | 🚧 |
Full information is available in the Build summary check run.
Failures
⚙️ Native Tests - Data5 #
- Failing: integration-tests/jpa-postgresql-withxml
📦 integration-tests/jpa-postgresql-withxml
✖ io.quarkus.it.jpa.postgresql.ImageMetricsITCase.verifyImageMetrics
line 15
- History - More details - Source on GitHub
org.opentest4j.AssertionFailedError: Expected analysis_results.fields.reflection to be within range [163 +- 3%] but was 168 ==> expected: <true> but was: <false>
at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
at io.quarkus.test.junit.nativeimage.NativeBuildOutputExtension.assertValueWithinRange(NativeBuildOutputExtension.java:90)
at io.quarkus.test.junit.nativeimage.NativeBuildOutputExtension.lambda$verifyImageMetrics$0(NativeBuildOutputExtension.java:66)
No description provided.