All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] Initial functional vcontainer --config feature for CI auth
@ 2026-04-28  1:13 Tim Orling
  2026-04-28  1:13 ` [RFC PATCH 1/4] vcontainer: add --config / VDKR_CONFIG for docker/podman auth credentials Tim Orling
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Tim Orling @ 2026-04-28  1:13 UTC (permalink / raw)
  To: meta-virtualization

This is an initial attempt to share a new feature for vcontainer which
mounts credentials (e.g. ~/.docker/config.json or podman's auth.json)
into QEMU as a 9p mount. This avoids some ugly hoops we would have to
jump through to pass the credentials with --password-stdin.

This series was heavily reliant on Claude Cowork, and hence is a bit
verbose in places. I chose to share it as is (and as tested) for this
initial RFC.

The tests (test_vcontainer_auth_config.py) all pass in a local Yocto
AutoBuilder test run.

The feature itself was also tested on a local Yocto AutoBuilder
'containers-library' run which successfully pushed a 'python' container
to registry.yocto.io[1] and quay.io/yocto[2] with the "Robot Account" or
equivalent credentials.

Once we agree upon a functional state of this patch series, the changes
for yocto-autobuilder2 and yocto-autobuilder-helper can be shared in a
meaningful way, since they are dependent upon this feature.

[1] https://registry.yocto.io/account/sign-in?globalSearch=library
[2] https://quay.io/repository/yocto/python?tab=tags

Tim Orling (4):
  vcontainer: add --config / VDKR_CONFIG for docker/podman auth
    credentials
  tests: add vcontainer --config / VDKR_CONFIG auth plumbing tests
  vcontainer-initramfs-create.inc: depend on virtual/kernel:do_deploy
  vcontainer-tarball: fix SDK environment script for CI

 .gitignore                                    |   1 +
 recipes-containers/vcontainer/README.md       |  54 ++
 .../vcontainer/files/vcontainer-common.sh     |  18 +
 .../files/vcontainer-init-common.sh           |  54 ++
 .../vcontainer/files/vdkr-init.sh             |  58 ++
 .../vcontainer/files/vpdmn-init.sh            |  61 ++
 .../vcontainer/files/vrunner.sh               | 147 ++++
 .../vcontainer-initramfs-create.inc           |  19 +-
 .../vcontainer/vcontainer-tarball.bb          |  69 +-
 tests/test_vcontainer_auth_config.py          | 642 ++++++++++++++++++
 10 files changed, 1106 insertions(+), 17 deletions(-)
 create mode 100644 tests/test_vcontainer_auth_config.py

-- 
2.50.1 (Apple Git-155)



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-04-28 21:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-28  1:13 [RFC PATCH 0/4] Initial functional vcontainer --config feature for CI auth Tim Orling
2026-04-28  1:13 ` [RFC PATCH 1/4] vcontainer: add --config / VDKR_CONFIG for docker/podman auth credentials Tim Orling
2026-04-28  1:13 ` [RFC PATCH 2/4] tests: add vcontainer --config / VDKR_CONFIG auth plumbing tests Tim Orling
2026-04-28  1:13 ` [RFC PATCH 3/4] vcontainer-initramfs-create.inc: depend on virtual/kernel:do_deploy Tim Orling
2026-04-28 11:55   ` [meta-virtualization] " Bruce Ashfield
2026-04-28  1:13 ` [RFC PATCH 4/4] vcontainer-tarball: fix SDK environment script for CI Tim Orling
2026-04-28 11:56   ` [meta-virtualization] " Bruce Ashfield
2026-04-28 21:41     ` Tim Orling

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.