aboutsummaryrefslogtreecommitdiff
path: root/lite-gateway-ubuntu-core.yaml
diff options
context:
space:
mode:
authorMadper Xie <madper.xie@linaro.org>2017-02-22 18:04:50 +0800
committerFathi Boudra <fathi.boudra@linaro.org>2017-02-22 15:01:09 +0200
commit4bfb6e78760109fc2a28f117ca190c29f23be683 (patch)
tree1298087cd2d9e60ddf4524db39fa74a9aa90f998 /lite-gateway-ubuntu-core.yaml
parent4eb9ec31ce2e7d0d49e8d18298922ac44966f369 (diff)
downloadconfigs-4bfb6e78760109fc2a28f117ca190c29f23be683.tar.gz
lite-gateway-ubuntu-core: add dragonboard-410c support
As we will not change dragonboard-410c often. Only upper layer will be upgraded. So it makes sence to build rpi2, rpi3, 410c together with a low frequency. Add a parameter to the job to simplify addition of other platforms. Change-Id: Id60bbe923bc0deb00f84f65285d3325faba29d46 Signed-off-by: Madper Xie <madper.xie@linaro.org> Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'lite-gateway-ubuntu-core.yaml')
-rw-r--r--lite-gateway-ubuntu-core.yaml11
1 files changed, 8 insertions, 3 deletions
diff --git a/lite-gateway-ubuntu-core.yaml b/lite-gateway-ubuntu-core.yaml
index 4cb90bf83..d466a8cb9 100644
--- a/lite-gateway-ubuntu-core.yaml
+++ b/lite-gateway-ubuntu-core.yaml
@@ -10,6 +10,10 @@
- build-discarder:
days-to-keep: 30
num-to-keep: 30
+ parameters:
+ - string:
+ name: MACHINES
+ default: 'dragonboard-410c pi-2 pi-3'
disabled: false
node: docker-xenial-amd64
display-name: 'LITE - Ubuntu Core gateway image'
@@ -26,10 +30,11 @@
- shell: |
#!/bin/bash -e
- pxz ubuntu-core-16-pi3-lite.img
- pxz ubuntu-core-16-pi2-lite.img
mkdir out
- mv pi-3.json ubuntu-core-16-pi3-lite.img.xz ubuntu-core-16-pi2-lite.img.xz out/
+ for machine in ${MACHINES}; do
+ pxz ubuntu-core-16-${machine}-lite.img
+ mv ubuntu-core-16-${machine}-lite.img.xz out/
+ done
# Publish
test -d ${HOME}/bin || mkdir ${HOME}/bin