aboutsummaryrefslogtreecommitdiff
path: root/debian-arm64-rootfs.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2015-01-22 10:55:19 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2015-01-22 10:55:19 +0200
commitba667f10234d5fb083ca44d3b6a35dc57ed534c5 (patch)
treee4fe28aeb4c8188dcc54150b57d7ccb40efcc2e7 /debian-arm64-rootfs.yaml
parenta193f6a95dfe57332042f2ccef1d941654517cc0 (diff)
debian-arm64-rootfs: add new job to build Debian arm64 rootfs
Change-Id: I17e85359e4b089ce64327bd6a1ae34625b06b843 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'debian-arm64-rootfs.yaml')
-rw-r--r--debian-arm64-rootfs.yaml83
1 files changed, 83 insertions, 0 deletions
diff --git a/debian-arm64-rootfs.yaml b/debian-arm64-rootfs.yaml
new file mode 100644
index 0000000000..8b93399b3e
--- /dev/null
+++ b/debian-arm64-rootfs.yaml
@@ -0,0 +1,83 @@
+- job:
+ name: debian-arm64-rootfs
+ project-type: matrix
+ defaults: global
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 30
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ parameters:
+ - password:
+ name: PUBLISH_KEY
+ default: ${PUBLISH_KEY}
+ disabled: false
+ node: build
+ child-workspace: .
+ display-name: 'Linaro Debian arm64 rootfs'
+ scm:
+ - git:
+ url: git://git.linaro.org/ci/ubuntu-build-service.git
+ refspec: +refs/heads/master:refs/remotes/origin/master
+ name: origin
+ branches:
+ - origin/master
+ skip-tag: true
+ shallow-clone: true
+ clean: true
+ wipe-workspace: false
+ axes:
+ - axis:
+ type: slave
+ name: label
+ values:
+ - build
+ - axis:
+ type: user-defined
+ name: rootfs
+ values:
+ - developer
+ execution-strategy:
+ sequential: true
+ wrappers:
+ - timestamps
+ - matrix-tie-parent:
+ node: build
+ - timeout:
+ timeout: 120
+ builders:
+ - shell: |
+ #!/bin/bash
+
+ trap cleanup_exit INT TERM EXIT
+
+ cleanup_exit()
+ {
+ cd ${WORKSPACE}
+ sudo umount builddir
+ sudo rm -rf out
+ }
+
+ dpkg -s qemu-user-static |grep '^Version'
+ dpkg -s live-build |grep '^Version'
+
+ rm -f linaro-jessie-${rootfs}-* *.txt
+
+ test -d builddir || mkdir builddir
+ sudo mount -t tmpfs -o size=6G tmpfs builddir
+ cp -a jessie-arm64-${rootfs} builddir/
+ cd builddir/jessie-arm64-${rootfs}
+ ./configure
+ make
+ mkdir -p ${WORKSPACE}/out
+ sudo mv linaro-jessie-* ${WORKSPACE}/out
+ ${HOME}/bin/linaro-cp ${WORKSPACE}/out debian/images/${rootfs}-arm64/${BUILD_NUMBER}
+ publishers:
+ - archive:
+ artifacts: 'linaro-jessie-*.tar.gz'
+ latest-only: true
+ - email:
+ recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org'