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

Use maven local repository for GraalVM dependencies in gradle tests #568

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

zakkak
Copy link
Collaborator

@zakkak zakkak commented Sep 13, 2023

Quarkus already instructs gradle to use the local maven repositories for io.quarkus.* artifacts. This sed command adds org.graal.* artifacts to the include pattern so that we can test locally built and installed GraalVM/Mandrel artifacts.

Testing in progress in https://github.com/zakkak/mandrel/actions/runs/6171689706

Quarkus already instructs gradle to use the local maven repositories for
io.quarkus.* artifacts. This sed command adds org.graal.* artifacts to
the include pattern so that we can test locally built and installed
GraalVM/Mandrel artifacts.
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 13, 2023
@zakkak zakkak force-pushed the 2023-09-13-fix-gradle-testing branch from 0a64e89 to 953637e Compare September 13, 2023 11:14
@zakkak zakkak marked this pull request as ready for review September 14, 2023 11:11
@zakkak zakkak requested a review from jerboaa September 14, 2023 11:11
@zakkak
Copy link
Collaborator Author

zakkak commented Sep 14, 2023

Gradle test succeeded

I think there is no reason to restart the whole test suite for this. WDYT?

@zakkak zakkak force-pushed the 2023-09-13-fix-gradle-testing branch from 953637e to ab7a21b Compare September 14, 2023 12:37
Copy link
Collaborator

@jerboaa jerboaa left a comment

Choose a reason for hiding this comment

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

Thanks! Ship it. I assume this will still download if it doesn't find it in the local repo, right (which would be the case for the build image CI checks)?

@zakkak
Copy link
Collaborator Author

zakkak commented Sep 14, 2023

Thanks! Ship it. I assume this will still download if it doesn't find it in the local repo, right (which would be the case for the build image CI checks)?

Yes, the only difference is that it wil not use the gradle cache but the maven cache (that's only for the org.graalvm.* deps), which I believe is acceptable for our testing.

@zakkak zakkak merged commit 745d9e7 into graalvm:default Sep 14, 2023
151 of 249 checks passed
@zakkak zakkak deleted the 2023-09-13-fix-gradle-testing branch September 14, 2023 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants