-
Notifications
You must be signed in to change notification settings - Fork 234
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
Generate / use OCI image for Mock buildroot #1489
Draft
praiskup
wants to merge
6
commits into
rpm-software-management:main
Choose a base branch
from
praiskup:praiskup-buildroot-oci-image
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Generate / use OCI image for Mock buildroot #1489
praiskup
wants to merge
6
commits into
rpm-software-management:main
from
praiskup:praiskup-buildroot-oci-image
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
praiskup
force-pushed
the
praiskup-buildroot-oci-image
branch
from
October 22, 2024 11:28
a55ac9d
to
d8b19b3
Compare
praiskup
commented
Oct 23, 2024
|
||
def _produce_image_as_root(self): | ||
name = f"mock-container-{self.buildroot.config['root']}" | ||
# TODO: chain build produces multiple buildroots |
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.
No action neeeded, tarballs are created in sub-directories
$ find /var/tmp/mock-chain-root-377278-t9wkx5vm/results/ | grep tar$
/var/tmp/mock-chain-root-377278-t9wkx5vm/results/epel-10-x86_64/python-types-requests-2.26.1-14.fc42/buildroot-oci.tar
/var/tmp/mock-chain-root-377278-t9wkx5vm/results/epel-10-x86_64/python-requests-toolbelt-1.0.0-7.fc42/buildroot-oci.tar
/var/tmp/mock-chain-root-377278-t9wkx5vm/results/epel-10-x86_64/python-freezegun-1.2.2-9.fc42/buildroot-oci.tar
/var/tmp/mock-chain-root-377278-t9wkx5vm/results/epel-10-x86_64/copr-cli-2.0-1.el10_0/buildroot-oci.tar
/var/tmp/mock-chain-root-377278-t9wkx5vm/results/epel-10-x86_64/python-responses-0.18.0-1.el9/buildroot-oci.tar
/var/tmp/mock-chain-root-377278-t9wkx5vm/results/epel-10-x86_64/python-humanize-4.9.0-2.fc42/buildroot-oci.tar
/var/tmp/mock-chain-root-377278-t9wkx5vm/results/epel-10-x86_64/python-copr-2.0-1.fc41/buildroot-oci.tar
LGTM so far. |
praiskup
changed the title
Generate OCI image from buildroot
Generate / use OCI image for Mock buildroot
Oct 29, 2024
praiskup
force-pushed
the
praiskup-buildroot-oci-image
branch
3 times, most recently
from
October 29, 2024 18:05
c0cd55d
to
ef58c30
Compare
We plan to use the podman.pi library and buildroot logic both for buildroot and bootstrap, let's not not hard-wire code bootstrap-only.
The 'podman image mount' requires image tag, but from-tarball imports have no tag (create one).
For now as: --config-opts buildroot_image=registry.fedoraproject.org/fedora:41 Fixes: rpm-software-management#1159
praiskup
force-pushed
the
praiskup-buildroot-oci-image
branch
from
October 31, 2024 07:44
ef58c30
to
02c321f
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes: #1482