WIP: cmdlib: Support deriving name from manifest, summary from image.yaml#1474
WIP: cmdlib: Support deriving name from manifest, summary from image.yaml#1474cgwalters wants to merge 1 commit intocoreos:mainfrom
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 DetailsNeeds 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. DetailsInstructions 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. DetailsInstructions 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
rojigsection (whichwas always awkward to start with).