[yocto-autobuilder-helper][PATCH 07/11] config.json: add 'containers-' build jobs

[email protected]
Newsgroups org.yoctoproject.lists.yocto-patches,org.yoctoproject.lists.yocto
Message-ID <1c444ecb2272a384e77a786f7ca32767f791ce34.1778202125.git.tim.orling@konsulko.com>
From: Tim Orling <[email protected]>

Add 'containers-' build jobs that build container images on top
of the vcontainer-tarball SDK:

  * containers-meta-virt: the original app-container-* images that
    ship in meta-virtualization itself (e.g. app-container-curl).
  * containers-library: a layer for additional images modelled
    after docker.io/library/*, sourced from meta-yocto-containers-demo

Signed-off-by: Tim Orling <[email protected]>
---
 config.json | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/config.json b/config.json
index 9e6898d..86c1ffb 100644
--- a/config.json
+++ b/config.json
@@ -1895,6 +1895,49 @@
                     "install -d ${BASE_SHAREDDIR}/pub/vcontainer-tarball-latest && install -m 0755 ${BUILDDIR}/tmp/deploy/sdk/vcontainer-standalone.sh ${BASE_SHAREDDIR}/pub/vcontainer-tarball-latest/vcontainer-standalone.sh.new && mv -f ${BASE_SHAREDDIR}/pub/vcontainer-tarball-latest/vcontainer-standalone.sh.new ${BASE_SHAREDDIR}/pub/vcontainer-tarball-latest/vcontainer-standalone.sh"
                 ]
             }
+        },
+        "containers-meta-virt": {
+            "NEEDREPOS" : ["bitbake", "meta-openembedded", "meta-virtualization"],
+            "ADDLAYER" : [
+                "${BUILDDIR}/../meta-openembedded/meta-oe",
+                "${BUILDDIR}/../meta-openembedded/meta-python",
+                "${BUILDDIR}/../meta-openembedded/meta-networking",
+                "${BUILDDIR}/../meta-openembedded/meta-filesystems",
+                "${BUILDDIR}/../meta-virtualization"
+            ],
+            "step1" : {
+                "shortname" : "Build 'base' container",
+                "BBTARGETS" : "container-base",
+                "extravars" : [
+                    "DISTRO_FEATURES:append = ' virtualization vcontainer'"
+                ]
+            },
+            "step2" : {
+                "shortname" : "Build 'curl' container",
+                "BBTARGETS" : "app-container-curl",
+                "extravars" : [
+                    "DISTRO_FEATURES:append = ' virtualization vcontainer'"
+                ]
+            }
+        },
+        "containers-library": {
+            "NEEDREPOS" : ["bitbake", "meta-openembedded", "meta-virtualization", "meta-yocto-containers-demo"],
+            "ADDLAYER" : [
+                "${BUILDDIR}/../meta-openembedded/meta-oe",
+                "${BUILDDIR}/../meta-openembedded/meta-python",
+                "${BUILDDIR}/../meta-openembedded/meta-networking",
+                "${BUILDDIR}/../meta-openembedded/meta-filesystems",
+                "${BUILDDIR}/../meta-openembedded/meta-webserver",
+                "${BUILDDIR}/../meta-virtualization",
+                "${BUILDDIR}/../meta-yocto-containers-demo"
+            ],
+            "extravars" : [
+                "DISTRO_FEATURES:append = ' virtualization vcontainer'"
+            ],
+            "step1" : {
+                "shortname" : "Build 'python' container",
+                "BBTARGETS" : "app-container-python"
+            }
         }
     },
     "repo-defaults" : {
@@ -2018,6 +2061,12 @@
             "revision" : "HEAD",
             "no-layer-add" : true
         },
+        "meta-yocto-containers-demo" : {
+            "url" : "https://github.com/moto-timo/meta-yocto-containers-demo.git",
+            "branch" : "master",
+            "revision" : "HEAD",
+            "no-layer-add" : true
+        },
         "auto-upgrade-helper" : {
             "url" : "git://git.yoctoproject.org/auto-upgrade-helper",
             "branch" : "master",
-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.