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

image-builder-cli: work in progress draft with all current features #4

Closed
wants to merge 8 commits into from

Conversation

mvo5
Copy link
Collaborator

@mvo5 mvo5 commented Nov 27, 2024

This is here to show what direction we take, not so that it actually gets merged. The workflow is that commits out of this branch will be cleaned up, opened for review and then this branch is rebased on the new "main" - but is is often useful to refer back to the "big picture" in these individual PRs and that can be found here.

@mvo5 mvo5 force-pushed the add-manifest-build-bp branch 4 times, most recently from 526aef0 to 0e3f4de Compare November 27, 2024 10:27
mvo5 added 8 commits November 29, 2024 11:53
This commit adds a helper to find exactly a single image from a
given disto/type/arch description. This will be used in `manifest`,
`build` and potentially more.
This commit implements the `manifest` command for `image-builder`.
It will generate an osbuild manifest based on the given inputs,
e.g.:
```
$ ./image-builder manifest centos-9 qcow2
{"version":"2","pipelines":[{"name":"build","runner":",...
```
This commit implements the `build` command. It will build an
image based on the given distro/type spec.

Note that no cross-arch building is possible (unlike `bib`) because
we would need to construct a cross-arch buildroot. This is requires
rpm/libc in the cross-arch first so there is a chicken-egg issue.
We *could* of course construct our buildroots from a container
base initially, then cross-building would work with qemu-user.
@mvo5 mvo5 force-pushed the add-manifest-build-bp branch from 0e3f4de to 414b996 Compare November 29, 2024 10:56
@mvo5
Copy link
Collaborator Author

mvo5 commented Dec 3, 2024

This can be closed now, #8 contains all of it (except commit 14b996 but I'm not sure we want this).

@mvo5 mvo5 closed this Dec 3, 2024
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.

1 participant