8000 Upgrade maven cache extension by ahus1 · Pull Request #30464 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Upgrade maven cache extension - #30464

Merged
ahus1 merged 1 commit into
keycloak:mainfrom
ahus1:is-30463-upgrade-maven-cache-extension
Jun 19, 2024
Merged

ahus1 merged 1 commit into
keycloak:mainfrom
ahus1:is-30463-upgrade-maven-cache-extension

Conversation

@ahus1
@ahus1 ahus1 commented Jun 15, 2024 •
Copy link
Copy Markdown
Member

Also ensure that JS project is not built too often, and the Quarkus distribution is not missed when sub-dependencies change.

Closes #30463

How to test:

Run the following command twice. The second time should finish in less than 10 seconds, as it is only calculating hashes and copying cached artifacts to the local Maven repo.

./mvnw -Dmaven.build.cache.enabled=true install -DskipTests -am -pl quarkus/dist

If a source file is then changed (for example InfinispanCacheRealmProviderFactory.java or AccountRow.tsx), the final Quarkus ZIP file is rebuilt after building only those dependency that are essential.

Comment thread themes/pom.xml Resolved
@ahus1
ahus1 force-pushed the is-30463-upgrade-maven-cache-extension branch from 45f6ef3 to 0731ab0 Compare June 17, 2024 08:10
@ahus1
ahus1 requested a review from jonkoops June 17, 2024 08:11
Comment thread js/pom.xml Resolved
@jonkoops jonkoops left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@ahus1
ahus1 commented Jun 17, 2024
Copy link
Copy Markdown
Member Author

@vmuzikar - can you please review and merge this PR? Asking you as it touches the Quarkus pom.xml. AFAIK the changes still build the same ZIP file afterwards. Thanks!

@ahus1
ahus1 requested a review from vmuzikar June 17, 2024 10:15
@ahus1
ahus1 commented Jun 17, 2024
Copy link
Copy Markdown
Member Author

partial_import_test fails randomly: #30492, trying one more time

@jonkoops
jonkoops force-pushed the is-30463-upgrade-maven-cache-extension branch from 0731ab0 to 34fa7d6 Compare June 17, 2024 14:18
@vmuzikar vmuzikar left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@ahus1 LGTM, the zip dist seems to be the same.

Comment thread quarkus/dist/pom.xml Outdated
Comment on lines 37 to 42
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@pedroigor Do you remember why we excluded this?

@agagancarczyk
Copy link
Copy Markdown
Contributor

partial_import_test fails randomly: #30492, trying one more time

@ahus1 I’m expecting this test to pass now, as per the merged fix -> #30199.

Also ensure that JS project is not built too often, and the Quarkus distribution is not missed when sub-dependencies change.

Closes keycloak#30463

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
@ahus1
ahus1 force-pushed the is-30463-upgrade-maven-cache-extension branch from 9e67453 to f421f9f Compare June 18, 2024 15:30
@ahus1
ahus1 enabled auto-merge (rebase) June 18, 2024 15:31
@keycloak-github-bot keycloak-github-bot Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Unreported flaky test detected, please review

@keycloak keycloak deleted a comment from keycloak-github-bot Bot Jun 19, 2024
@ahus1
ahus1 merged commit 319c87e into keycloak:main Jun 19, 2024
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.

Upgrade the maven cache extension

4 participants

0