GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: introduce Maven configuration for GraalVM testing by dzou · Pull Request #314 · googleapis/java-shared-config

This repository was archived by the owner on Sep 30, 2026. It is now read-only.

Conversation

@dzou

@dzou dzou commented Sep 16, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

This PR introduces Maven project and Kokoro configuration for GraalVM native image testing.

With guidance from @lesv and @Neenu1995, our plan is to introduce changes that will be no-op (these change should not affect existing projects) while allowing individual repositories to opt-in GraalVM testing.

Summary of the changes proposed:

  • pom.xml - Adds an additional Maven profile (named native) which contains the dependencies and plugins to run all unit and integration tests compiled with GraalVM with a single command (mvn test -Pnative -Penable-integration-tests). This should also be a transparent change for existing projects as the changes are only enabled with activation of the profile.

A demo of this performed on the Secret Manager repo: googleapis/java-secretmanager#583

cc/ @suztomo

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dzou
Introduce job configuration for GraalVM integration testing
e7b7d04
@dzou
dzou requested a review from a team September 16, 2021 22:16
@generated-files-bot

generated-files-bot Bot commented Sep 16, 2021

Copy link
Copy Markdown

Warning: This pull request is touching the following templated files:

  • .kokoro/build.sh
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 16, 2021
@dzou
Revert build script changes
b0b1153
@dzou dzou changed the title Introduce job configuration for GraalVM integration testing feat: introduce Maven configuration for GraalVM integration testing Sep 16, 2021
@dzou dzou mentioned this pull request Sep 16, 2021
feat: introduce GraalVM testing build script changes googleapis/synthtool#1215
Closed
@dzou dzou changed the title feat: introduce Maven configuration for GraalVM integration testing feat: introduce Maven configuration for GraalVM testing Sep 16, 2021
lesv
lesv approved these changes Sep 22, 2021
View reviewed changes

@lesv lesv left a comment

Copy link
Copy Markdown
Contributor

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.

approve w/ question

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pom.xml Outdated
Comment on lines +844 to +851
<repositories>
<repository>
<id>snapshots-repo</id>
<url>https://google.oss.sonatype.org/content/repositories/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>

@lesv lesv Sep 22, 2021

Copy link
Copy Markdown
Contributor

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.

is this needed?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@lesv lesv Sep 22, 2021

Copy link
Copy Markdown
Contributor

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.

Can't you just use the -Pallow-snapshots

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@dzou dzou Oct 7, 2021

Copy link
Copy Markdown
Contributor Author

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.

Done, I removed this. We will no longer be using snapshots as we will try to eventually pursue putting configuration into java-core or one of the shared dependencies.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Neenu1995 Neenu1995 added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Sep 22, 2021
@Neenu1995

Neenu1995 commented Sep 22, 2021

Copy link
Copy Markdown
Contributor

Waiting to change the artifact name before merging.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dzou
Remove snapshot usage
7926bd4
@dzou dzou added kokoro:force-run Add this label to force Kokoro to re-run the tests. and removed do not merge Indicates a pull request not ready for merge, due to either quality or timing. labels Oct 7, 2021
@dzou

dzou commented Oct 7, 2021

Copy link
Copy Markdown
Contributor Author

Waiting to change the artifact name before merging.

Artifact renamed to native-image-support and updated in this commit: 7926bd4

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Neenu1995 Neenu1995 added kokoro:force-run Add this label to force Kokoro to re-run the tests. and removed kokoro:force-run Add this label to force Kokoro to re-run the tests. labels Oct 7, 2021
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 7, 2021
@dzou
dzou merged commit 28fbeb8 into googleapis:main Oct 7, 2021
@dzou
dzou deleted the graalvm-testing branch October 7, 2021 21:10
This was referenced Jan 4, 2022
chore(main): release java-shared-config 0.11.4 #385
Closed
chore(main): release java-shared-config 0.11.4 #386
Closed
chore(main): release java-shared-config 0.11.4 #387
Closed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@lesv lesv lesv approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@dzou @Neenu1995 @lesv @yoshi-kokoro
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.