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
CLOUD-2869 add overrides for building jdk 11 based images #36
CLOUD-2869 add overrides for building jdk 11 based images #36
Conversation
Signed-off-by: rcernich <rcernich@redhat.com>
@goldmann, I need to know what to do wrt branch names, etc. I don't see why we can't have these collocated with each other, in the same branch, similar to what we do with JWS. For now, I created a separate overrides file for JDK 11. To build, you need both product-overrides and rhel7-jdk11-overrides. All the latter overrides does is swap jdk from version 8 to version 11. It also changes the osbs settings, but I'm not sure if this is the best way or not. Lemme know. |
Notes:
No, I don't have immediate answers all these issues. This is why we need (badly) guidelines before proceeding with this. If JDK 11 is an urgent requirement, I can merge this and we can rework later. |
Hey @goldmann, thanks for the feed back.
Yes. I'm wondering if it makes sense to have the major version in the repository name. Branches would feel more natural. Then there's the way we do this for the SCL based images, e.g. https://github.com/sclorg/s2i-python-container.
Yes, but I think the old name is the problem, not the new name. While the version is 1.8, it's also known as Java 8, so...
I'm not sure what the scl guys are doing, but they seem to have a single repo for multiple versions. That said, using cekit seems to be much easier than using git modules for common source. They also don't seem to have a problem with using non-rpm content. As far as building goes, should we start including jenkins files in our source?
Having a repository for each version is not the right solution IMO. This really complicates the development process and makes it hard for users to locate the "correct" repository. Having a single "Java" source repo makes for one-stop shopping. Whether the different versions are in different branches or different subdirectories, it's all in one place. Longer term, it would also be nice if the Java specific modules were located here too (real one-stop shopping). |
Signed-off-by: rcernich rcernich@redhat.com
Thanks for submitting your Pull Request!
Please make sure your PR meets the following requirements:
[CLOUD-XYA] Subject
CONTRIBUTING.md
)Signed-off-by: Your Name <yourname@example.com>
- usegit commit -s