diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2015-10-28 10:04:04 +0200 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2015-10-28 10:04:04 +0200 |
commit | 035517d19c1f4806df93b99cd7b470814f34ab55 (patch) | |
tree | 338f4cac3cd832c5e8b272f358e28f51c9510618 /debian-arm64-rootfs.yaml | |
parent | fe8eca22fbfaed9dc3f7a782b4b9012ae9c2a88a (diff) |
debian-arm64-rootfs: move the job to native builder
Use "docker-jessie-arm64" 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: I057b808c62f48ab62880f0936c456a13d0a522bb
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'debian-arm64-rootfs.yaml')
-rw-r--r-- | debian-arm64-rootfs.yaml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/debian-arm64-rootfs.yaml b/debian-arm64-rootfs.yaml index 10052d73fd..3f204158d8 100644 --- a/debian-arm64-rootfs.yaml +++ b/debian-arm64-rootfs.yaml @@ -5,6 +5,7 @@ logrotate: daysToKeep: 30 numToKeep: 30 + artifactNumToKeep: 1 properties: - authorization: anonymous: @@ -26,22 +27,21 @@ - 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-arm64 - 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}-arm64/${BUILD_NUMBER} publishers: - archive: - artifacts: 'out/*' - latest-only: true + artifacts: 'out/linaro-jessie-${rootfs}-*' - email: recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' |