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

[OPENJDK-3597] test for MAVEN_SETTINGS_XML #539

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

jmtd
Copy link
Member

@jmtd jmtd commented Jan 24, 2025

This test checks a custom test application source to ensure that a custom settings.xml, which defines a custom profile, has been activated.

https://issues.redhat.com/browse/OPENJDK-3597

Note: once rh-openjdk/openjdk-container-test-applications#7 is merged, this could be rebased to reference rh-openjdk instead of the jmtd fork.

Also note: the S2I tests are tagged @ignore which prevents their execution on GHA; to run them manually, one has to remove or comment out @ignore at the top of the file, and most likely add @wip to each of them, in order to select them wtih cekit … test behave --wip.

@jmtd jmtd requested review from jerboaa and sefroberg January 24, 2025 14:13
Copy link

@sefroberg sefroberg left a comment

Choose a reason for hiding this comment

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

The code looks straight forward. It will probably be a good idea to add this type of a test to the Podman executions too..

Copy link
Contributor

@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.

I'd prefer if this waited for the test application merge in rh-openjdk/openjdk-container-test-applications#7 Using personal forks isn't something we should sprinkle around in our code-base.

@jmtd jmtd force-pushed the OPENJDK-3597-enforce-profile-active branch from 3836e66 to 720efd6 Compare January 27, 2025 11:36
@jmtd
Copy link
Member Author

jmtd commented Jan 27, 2025

@jerboaa I've merged rh-openjdk/openjdk-container-test-applications#7 and updated this PR accordingly. Please take another look :-)

(related: we have to specify using master in the s2i-fail-case, I've raised cekit/behave-test-steps#74 to support a shorter syntax)

@jmtd jmtd requested a review from jerboaa January 27, 2025 11:38
This test checks a custom test application source to ensure that
a custom settings.xml, which defines a custom profile, has been
activated.

Signed-off-by: Jonathan Dowland <jdowland@redhat.com>
@jmtd jmtd force-pushed the OPENJDK-3597-enforce-profile-active branch from 720efd6 to 38d9c00 Compare January 27, 2025 11:41
@jmtd jmtd merged commit a922813 into rh-openjdk:ubi9 Jan 27, 2025
6 checks passed
@jmtd jmtd deleted the OPENJDK-3597-enforce-profile-active branch January 27, 2025 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants