-
Notifications
You must be signed in to change notification settings - Fork 457
MCO-1977: Introduce RHEL9 and RHEL10 custom OS images #5416
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
base: main
Are you sure you want to change the base?
MCO-1977: Introduce RHEL9 and RHEL10 custom OS images #5416
Conversation
|
/test verify |
|
Skipping CI for Draft Pull Request. |
a517425 to
91cbdea
Compare
|
@cheesesashimi: This pull request references MCO-1977 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@cheesesashimi: This pull request references MCO-1977 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@cheesesashimi: This pull request references MCO-1977 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@cheesesashimi: This pull request references MCO-1977 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@cheesesashimi: This pull request references MCO-1977 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
0d7cf17 to
7a5ec3b
Compare
| FROM quay.io/centos/centos:stream10 AS epel | ||
| WORKDIR /etc/yum.repos.d | ||
| RUN dnf install -y --setopt=keepcache=True epel-release && \ | ||
| curl -LO https://pkgs.tailscale.com/stable/rhel/10/tailscale.repo && \ |
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.
Question: I'm maybe missing something, but, why do we need a tailscale repo?
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.
This was an early proof-of-concept for installing non-standard software. It's not strictly needed and we could probably get away with just using yq and ripgrep instead.
EDIT: I'll remove Tailscale for now.
These images will be built by the CI system and injected into the e2e tests so that we can test image-mode on dual-stream.
7a5ec3b to
d4a5db5
Compare
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cheesesashimi, pablintino The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest-required |
|
@cheesesashimi: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
- What I did
The intention behind these images is to replace the inline Containerfile with both a RHEL9 and RHEL10 variant so that MCO e2e tests can use these images.
This PR does not touch any of the MCO codebase except for the
TestOSImageURLOverrideE2E test and the Makefile. Once this PR is merged, theTestOSImageURLOverridetest will be skipped until openshift/release#71396 is merged. However, the openshift/release PR must be merged this PR is merged.- How to verify it
make custom-os-imagesMakefile target. Two images will be produced with the nameslocalhost/custom-os-image-rhel9:latestandlocalhost/custom-os-image-rhel10:latest.registry.hostname.com/custom-os-image-rhel9:latest.cd test/e2e-2of2TestOSImageURLOverride:MCO_OS_IMAGE_URL_RHEL_9="registry.hostname.com/custom-os-image-rhel9:latest" go test -tags='containers_image_openpgp' -count=1 -timeout=45m -v -run=TestOSImageURLOverride .- Description for the changelog
Introduce RHEL9 and RHEL10 custom OS images for OSImageURL test