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

Add extensions.yaml (subset of RHCOS) #1080

Open
wants to merge 1 commit into
base: testing-devel
Choose a base branch
from

Conversation

cgwalters
Copy link
Member

This is a subset of the extensions.yaml from
https://github.com/openshift/os

My immediate motivation is that day to day I develop in
a Fedora toolbox targeting FCOS, and I wanted to test
rpm-ostree compose extensions as cosa buildextend-extensions
invokes it, and it's easier if we have a file here.

Since the FCOS pipeline doesn't invoke cosa buildextend-extensions,
this will be a no-op.

Or stated more strongly: We might just use this as part of e.g.
rpm-ostree's CI runs.

But...one could imagine that we actually share the list of extensions
between FCOS and RHCOS in the future.

Or more obviously, perhaps we actually do something with this FCOS
extensions list and don't actually offer "all Fedora packages"
as extensions.

jlebon
jlebon previously approved these changes Jul 5, 2021
Copy link
Member

@jlebon jlebon left a comment

Choose a reason for hiding this comment

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

Weak LGTM. It's a no-op, though I'd argue there's still a non-zero cost to carry this here when we're not actually using it.

Will let @dustymabe or @bgilbert chime in.

@@ -0,0 +1,32 @@
# RPMs as operating system extensions, distinct from the base ostree commit/image
Copy link
Member

Choose a reason for hiding this comment

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

Maybe let's add a big comment here that we're not actually officially using this in FCOS and it's just for development?

@jlebon
Copy link
Member

jlebon commented Jul 5, 2021

How much of the developer pain is actually due to openshift/os#552 and so not being able to just build RHCOS in the same toolbox on which you hack on rpm-ostree?

@bgilbert
Copy link
Contributor

bgilbert commented Jul 6, 2021

Hmm, if we don't (yet) have a concrete use for this, I'd say I'm weakly opposed.

@LorbusChris
Copy link
Contributor

FWIW we do support extensions in OKD, so maybe it can be put into okd-machine-os for now?

This is a subset of the `extensions.yaml` from
https://github.com/openshift/os

My immediate motivation is that day to day I develop in
a Fedora toolbox targeting FCOS, and I wanted to test
`rpm-ostree compose extensions` as `cosa buildextend-extensions`
invokes it, and it's easier if we have a file here.

Since the FCOS pipeline doesn't invoke `cosa buildextend-extensions`,
this will be a no-op.

Or stated more strongly: We might just use this as part of e.g.
rpm-ostree's CI runs.

But...one could imagine that we actually share the list of extensions
between FCOS and RHCOS in the future.

Or more obviously, perhaps we actually do something with this FCOS
extensions list and don't actually offer "all Fedora packages"
as extensions.
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

4 participants