public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [RFC][PATCH 0/3] Introduce container fetcher and pre-loader
@ 2024-07-09 17:31 'Jan Kiszka' via isar-users
  2024-07-09 17:31 ` [RFC][PATCH 1/3] Introduce fetcher from container registries 'Jan Kiszka' via isar-users
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2024-07-09 17:31 UTC (permalink / raw)
  To: isar-users

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.

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

end of thread, other threads:[~2024-07-12 13:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-09 17:31 [RFC][PATCH 0/3] Introduce container fetcher and pre-loader 'Jan Kiszka' via isar-users
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox