From 3d54b08cf22bb5a536c06971295d9586ee8bd9f8 Mon Sep 17 00:00:00 2001 From: Denis Pynkin <denis.pynkin@collabora.com> Date: Fri, 15 Feb 2019 14:31:12 +0300 Subject: [PATCH] Add Collection ID refs to ostree-deploy action If variable "collection_id" is set during the images build the Collection ID would be added into remote's configuration. Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com> --- apertis-ostree-image-uboot.yaml | 3 +++ apertis-ostree-image-uefi.yaml | 3 +++ apertis-ostree-pack.yaml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/apertis-ostree-image-uboot.yaml b/apertis-ostree-image-uboot.yaml index 1d6f7280..d59926f5 100644 --- a/apertis-ostree-image-uboot.yaml +++ b/apertis-ostree-image-uboot.yaml @@ -62,6 +62,9 @@ actions: branch: {{ $branch }} os: {{ $osname }} append-kernel-cmdline: {{ $cmdline }} + {{ if .collection_id }} + collection-id: {{ .collection_id }} + {{ end }} # Add multimedia demo pack # Provide URL via '-t demopack:"https://images.apertis.org/media/multimedia-demo.tar.gz"' diff --git a/apertis-ostree-image-uefi.yaml b/apertis-ostree-image-uefi.yaml index c1abb485..396058ca 100644 --- a/apertis-ostree-image-uefi.yaml +++ b/apertis-ostree-image-uefi.yaml @@ -62,6 +62,9 @@ actions: branch: {{ $branch }} os: {{ $osname }} append-kernel-cmdline: {{ $cmdline }} + {{ if .collection_id }} + collection-id: {{ .collection_id }} + {{ end }} # Add multimedia demo pack # Provide URL via '-t demopack:"https://images.apertis.org/media/multimedia-demo.tar.gz"' diff --git a/apertis-ostree-pack.yaml b/apertis-ostree-pack.yaml index 6f5c16a5..3e2c16b3 100644 --- a/apertis-ostree-pack.yaml +++ b/apertis-ostree-pack.yaml @@ -16,6 +16,9 @@ actions: remote_repository: {{ $repourl }} branch: {{ $branch }} os: {{ $osname }} + {{ if .collection_id }} + collection-id: {{ .collection_id }} + {{ end }} - action: pack compression: gz -- GitLab