aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2015-10-28 10:31:45 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2015-10-28 10:31:45 +0200
commit674a70f8c44b1084527a249de2f4058c49ac4e38 (patch)
tree70a35c878453f81b599a3a18e8bffb22dda2fd26
parent035517d19c1f4806df93b99cd7b470814f34ab55 (diff)
debian-armhf-rootfs: move the job to native builder
Use "docker-jessie-armhf" slave instead of "build". The new build slave is running on native aarch64 machine. It was previously cross-built. In addition, a few cleanups: * latest-only is deprecated in favor of artifactNumToKeep: 1 * use new syntax for scm clean: scm -> clean -> after -> (bool) * execution strategy isn't sequential anymore as we run each matrix configuration on separate build slaves * install build dependencies as they're missing from docker slave * restrict archive artifacts a bit more: 'out/*' -> 'out/linaro-jessie-${rootfs}-*' Change-Id: I2c7bd5f7644a308a43eaac06713d84835fb66f3f Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
-rw-r--r--debian-armhf-rootfs.yaml17
1 files changed, 10 insertions, 7 deletions
diff --git a/debian-armhf-rootfs.yaml b/debian-armhf-rootfs.yaml
index ed70381634..ddd2d46df1 100644
--- a/debian-armhf-rootfs.yaml
+++ b/debian-armhf-rootfs.yaml
@@ -5,6 +5,7 @@
logrotate:
daysToKeep: 30
numToKeep: 30
+ artifactNumToKeep: 1
properties:
- authorization:
anonymous:
@@ -22,26 +23,25 @@
url: git://git.linaro.org/ci/ubuntu-build-service.git
refspec: +refs/heads/master:refs/remotes/origin/master
name: origin
- branches:
+ branches:
- refs/heads/master
skip-tag: true
shallow-clone: true
- clean: true
+ clean:
+ after: true
wipe-workspace: false
axes:
- axis:
type: slave
name: label
values:
- - build
+ - docker-jessie-armhf
- axis:
type: user-defined
name: rootfs
values:
- alip
- developer
- execution-strategy:
- sequential: true
wrappers:
- timestamps
- matrix-tie-parent:
@@ -61,6 +61,10 @@
sudo umount builddir
}
+ sudo apt-get update
+ sudo apt-get install -y --no-install-recommends cpio debootstrap live-build
+ sudo dpkg -i --force-all packages/live-build_3.0.5-1linaro1_all.deb
+
dpkg -s qemu-user-static |grep '^Version'
dpkg -s live-build |grep '^Version'
@@ -77,7 +81,6 @@
time python ${HOME}/bin/linaro-cp --link-latest out debian/images/${rootfs}-armhf/${BUILD_NUMBER}
publishers:
- archive:
- artifacts: 'out/*'
- latest-only: true
+ artifacts: 'out/linaro-jessie-${rootfs}-*'
- email:
recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org'