From: "'Jan Kiszka' via isar-users" <isar-users@googlegroups.com>
To: isar-users <isar-users@googlegroups.com>
Subject: [RFC][PATCH 0/3] Introduce container fetcher and pre-loader
Date: Tue, 9 Jul 2024 19:31:36 +0200 [thread overview]
Message-ID: <cover.1720546299.git.jan.kiszka@siemens.com> (raw)
We noticed internally that there are at least 3 implementations for
solving the task of pre-loading container images into isar-built base
systems, may it be that the images are not publicly available or the
device is only poorly connected, if at all. This series tries to solve
the task generically - hopefully.
This still needs at least documentation and CI hook-up, possibly more,
but I'd like to invite colleagues and the community in general to early
feedback.
BTW, patch 1 also introduces a fairly nice pattern to register a real
bitbake fetcher, rather than meddling with SRC_URI like we do for apt://
right now. Therefore, I'm planning to refactor the apt fetcher soon as
well, maybe even with progress reporting...
Jan
Jan Kiszka (3):
Introduce fetcher from container registries
container-loader: Introduce helper to load container images into local
registry
meta-isar: Add demo packages for installing prebuilt containers
kas/package/Kconfig | 19 ++++
kas/package/pkg_prebuilt-docker-img.yaml | 9 ++
kas/package/pkg_prebuilt-podman-img.yaml | 9 ++
.../prebuilt-docker-img_0.1.bb | 10 +++
.../prebuilt-podman-img_0.1.bb | 10 +++
meta/classes/dpkg-base.bbclass | 6 ++
meta/lib/container_fetcher.py | 90 +++++++++++++++++++
.../container-loader/container-loader.inc | 76 ++++++++++++++++
.../container-loader/docker-loader.inc | 10 +++
.../files/container-loader.service.tmpl | 11 +++
.../files/container-loader.sh.tmpl | 13 +++
.../container-loader/podman-loader.inc | 10 +++
12 files changed, 273 insertions(+)
create mode 100644 kas/package/pkg_prebuilt-docker-img.yaml
create mode 100644 kas/package/pkg_prebuilt-podman-img.yaml
create mode 100644 meta-isar/recipes-app/prebuilt-container/prebuilt-docker-img_0.1.bb
create mode 100644 meta-isar/recipes-app/prebuilt-container/prebuilt-podman-img_0.1.bb
create mode 100644 meta/lib/container_fetcher.py
create mode 100644 meta/recipes-support/container-loader/container-loader.inc
create mode 100644 meta/recipes-support/container-loader/docker-loader.inc
create mode 100644 meta/recipes-support/container-loader/files/container-loader.service.tmpl
create mode 100755 meta/recipes-support/container-loader/files/container-loader.sh.tmpl
create mode 100644 meta/recipes-support/container-loader/podman-loader.inc
--
2.43.0
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/cover.1720546299.git.jan.kiszka%40siemens.com.
next reply other threads:[~2024-07-09 17:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-09 17:31 'Jan Kiszka' via isar-users [this message]
2024-07-09 17:31 ` [RFC][PATCH 1/3] Introduce fetcher from container registries 'Jan Kiszka' via isar-users
2024-07-10 7:55 ` 'Florian Bezdeka' via isar-users
2024-07-10 11:08 ` 'Jan Kiszka' via isar-users
2024-07-09 17:31 ` [RFC][PATCH 2/3] container-loader: Introduce helper to load container images into local registry 'Jan Kiszka' via isar-users
2024-07-10 12:46 ` 'MOESSBAUER, Felix' via isar-users
2024-07-10 16:20 ` 'Jan Kiszka' via isar-users
2024-07-12 9:19 ` 'Niedermayr, BENEDIKT' via isar-users
2024-07-12 13:45 ` 'Jan Kiszka' via isar-users
2024-07-12 12:11 ` 'Niedermayr, BENEDIKT' via isar-users
2024-07-12 13:49 ` 'Jan Kiszka' via isar-users
2024-07-09 17:31 ` [RFC][PATCH 3/3] meta-isar: Add demo packages for installing prebuilt containers 'Jan Kiszka' via isar-users
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1720546299.git.jan.kiszka@siemens.com \
--to=isar-users@googlegroups.com \
--cc=jan.kiszka@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox