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-2734: Stage 2 initial implementation #474

Merged
merged 3 commits into from
Apr 4, 2024

Conversation

Josh-Matsuoka
Copy link
Contributor

Initial implementation of build stage 2, addresses OPENJDK-2734

Leaving as draft for the moment, I'll do a second pass over it tomorrow. Wanted to get this out ahead of the meeting.

@Josh-Matsuoka Josh-Matsuoka requested a review from jmtd April 4, 2024 00:03
@@ -49,3 +58,31 @@ objects:
to:
kind: ImageStreamTag
name: ubi9-openjdk-${JDK_VERSION}-jlink:latest
- apiVersion: build.openshift.io/v1
kind: BuildConfig
Copy link
Contributor

Choose a reason for hiding this comment

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

BuildConfig is OpenShift specific. It would be best to design this based on Builds for Red Hat OpenShift which is k8s specific which covers a broader range of deployments and would be more forward-looking:
https://access.redhat.com/documentation/en-us/builds_for_red_hat_openshift/1.0

Copy link
Member

Choose a reason for hiding this comment

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

I think we need to move to Build instead of buildConfig, yes (also in #471). I won't block merging this to jlink-dev for that reason, though, it goes on the TODO list.

jmtd added 2 commits April 4, 2024 10:51
quote "true" to avoid OpenShift trying to interpret it as a
Boolean type.

Signed-off-by: Jonathan Dowland <[email protected]>
@jmtd
Copy link
Member

jmtd commented Apr 4, 2024

@Josh-Matsuoka , thanks for raising this PR. This is great! I've just done a thorough test of this and an attempt at combining it with the other templates to run the whole thing through end-to-end. I've just pushed two commits to your branch/this PR to resolve some immediate syntax problems. I'm just putting together the next steps we need to do and I can cover that when we meet later.

@Josh-Matsuoka Josh-Matsuoka marked this pull request as ready for review April 4, 2024 13:06
@jmtd jmtd merged commit bd80d12 into rh-openjdk:jlink-dev Apr 4, 2024
0 of 6 checks passed
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.

3 participants