Skip to content
Snippets Groups Projects
Commit a8159306 authored by Denis Pynkin's avatar Denis Pynkin
Browse files

Add multimedia demo pack for target and development images

Additional variable for ospack is used to provide URL:
'-t demopack:"https://images.apertis.org/media/multimedia-demo.tar.gz

"
to add multimedia demo files.

Signed-off-by: default avatarDenis Pynkin <denis.pynkin@collabora.com>
Reviewed-by: default avatarEmanuele Aina <emanuele.aina@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D7409
parent 6fb80df1
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@
{{- $suite := or .suite "18.03" -}}
{{- $timestamp := or .timestamp "00000000.0" -}}
{{- $ospack := or .ospack (printf "ospack_%s-%s-%s_%s.tar.gz" $suite $architecture $type $timestamp) -}}
{{- $demopack := or .demopack "disabled" -}}
architecture: {{ $architecture }}
......@@ -159,6 +160,20 @@ actions:
chroot: true
script: scripts/generate_locales.chroot
# Add multimedia demo pack for target and development images
# Provide URL via '-t demopack:"https://images.apertis.org/media/multimedia-demo.tar.gz"'
# to add multimedia demo files
{{ if eq $type "target" "development" }}
{{ if ne $demopack "disabled" }}
- action: download
url: {{ $demopack }}
name: mediademo
- action: unpack
origin: mediademo
{{ end }}
{{ end }}
- action: pack
compression: gz
file: {{ $ospack }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment