-
Notifications
You must be signed in to change notification settings - Fork 170
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
WIP: cmdlib: Support deriving name from manifest, summary from image.yaml #1474
Conversation
Prep for variant builds: coreos#1459 This way variant builds can simply use separate filenames rather than redundantly specifying the name in the `rojig` section (which was always awkward to start with).
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters 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 |
Had a suggestion re. this in coreos/fedora-coreos-config#424 (comment). |
Yeah, the downside of going that path is it breaks the "division" we have where one can e.g. If Here's another idea: we add to rpm-ostree manifests support for "extension blocks" like:
Basically we ignore (but pass through) all unknown keys starting with Then |
This is why I'd prefer an id: rhcos
name: Red Hat CoreOS
treefile: rhcos.yaml
image:
size: 8
... (And one can imagine folding the Basically, we fold all the conventions into one convention: We could then extend this pretty easily for variants too, e.g. riffing on #1459 (comment): variants:
- id: rhcos-8.1
name: Red Hat CoreOS
treefile: rhcos-8.1.yaml |
@cgwalters: PR needs rebase. 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. |
@cgwalters: The following tests 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/test-infra repository. I understand the commands that are listed here. |
Closing as this is WIP for a long time. Re-open if it gets refreshed. |
Prep for variant builds:
#1459
This way variant builds can simply use separate filenames rather
than redundantly specifying the name in the
rojig
section (whichwas always awkward to start with).