-
Notifications
You must be signed in to change notification settings - Fork 114
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
COS-2696: common.yaml: enable cliwrap #1442
Conversation
As part of the bootable containers effort, we want to put emphasis on a consistent experience when deriving images. A big part of that is being able to type `dnf install -y ...` in one's `Containerfile`. Let's turn on cliwrap for this. This matches the change in FCOS.[[1]] [1]: coreos/fedora-coreos-config#2858
One thing though is that rhcos already includes python. So I think there's much less motivation for not just shipping |
Not strongly against, but (1) it's nice to match FCOS, and (2) |
/retest-required |
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.
lgtm
/approve |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jlebon, jmarrero 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 |
Can you sync up with re: the UX inconsistency between container flow vs. client-side. This is something I really really want to clean up in dnf, but it's hard to nail down the specifics that people run in to. I think it varies across teams, which is fine, I just need to collect the details. |
Happy to chat some more, but essentially what I mean there is that with the real dnf, I guess one approach there is add some magic in the ostree-rs-ext bits so that we could have real dnf in the container flow, but cliwrapped dnf client-side? That dilutes the message though that the container image is exactly what gets deployed. So overall, I think this comes back to the dnf image effort. Short-term, I think if dnf implemented cliwrapping itself (i.e. transparently forwarded commands to rpm-ostree on rpm-ostree-managed hosts -- possibly only those without transient root, but I think there are UX questions there to flesh out), then I think we could include it. But ideally, we'd do that in FCOS first, but that's blocked on dnf5 because we want to avoid adding Python there. |
/retest |
coreos/rpm-ostree#4835 should fix the kdump test failure. |
/retest |
@jlebon: This pull request references COS-2696 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. |
@jlebon: all tests passed! 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/test-infra repository. I understand the commands that are listed here. |
As part of the bootable containers effort, we want to put emphasis on a consistent experience when deriving images. A big part of that is being able to type
dnf install -y ...
in one'sContainerfile
.Let's turn on cliwrap for this. This matches the change in FCOS.[1]