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

Enable Develocity build cache by default and document it better #38758

Merged
merged 11 commits into from
Feb 26, 2024

Conversation

gsmet
Copy link
Member

@gsmet gsmet commented Feb 13, 2024

No description provided.

@gsmet gsmet force-pushed the enable-build-cache branch from 1e0ed14 to c7715fd Compare February 13, 2024 13:15
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.
Copy link
Member

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>
Copy link
Member

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?

Copy link
Member Author

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.

@gsmet gsmet force-pushed the enable-build-cache branch from 8a8a911 to 9dd85a6 Compare February 20, 2024 12:42

This comment has been minimized.

This comment has been minimized.

@gsmet gsmet force-pushed the enable-build-cache branch from af4d918 to dbe13c8 Compare February 22, 2024 08:58
@quarkus-bot quarkus-bot bot added area/arc Issue related to ARC (dependency injection) area/gradle Gradle labels Feb 22, 2024
@gsmet gsmet force-pushed the enable-build-cache branch from dbe13c8 to af77af3 Compare February 22, 2024 09:48

This comment has been minimized.

@gsmet gsmet force-pushed the enable-build-cache branch from af77af3 to 248a75b Compare February 25, 2024 14:41
Copy link

quarkus-bot bot commented Feb 25, 2024

Status for workflow Quarkus CI

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

Failing Jobs

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)

@gsmet gsmet merged commit 9862215 into quarkusio:main Feb 26, 2024
50 of 51 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.9 - main milestone Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

2 participants