aboutsummaryrefslogtreecommitdiff
path: root/debian-armhf-rootfs.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2015-10-15 11:17:33 +0300
committerLinaro Code Review <review@review.linaro.org>2015-10-15 08:18:32 +0000
commitb52496c9b599da1b8575b274d7b7f148234f91dc (patch)
tree14d4a0545db3c3b82b6991bf3a05b440f12e6a09 /debian-armhf-rootfs.yaml
parent4b21a192eea3df07c52b1b1f0700ac6ced30930f (diff)
downloadconfigs-b52496c9b599da1b8575b274d7b7f148234f91dc.tar.gz
debian-armhf-rootfs: add new build job
Change-Id: I0f975c7771edfcc8c8c719c29907cbe4e0e8f2fc Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'debian-armhf-rootfs.yaml')
-rw-r--r--debian-armhf-rootfs.yaml83
1 files changed, 83 insertions, 0 deletions
diff --git a/debian-armhf-rootfs.yaml b/debian-armhf-rootfs.yaml
new file mode 100644
index 000000000..a073fb809
--- /dev/null
+++ b/debian-armhf-rootfs.yaml
@@ -0,0 +1,83 @@
+- job:
+ name: debian-armhf-rootfs
+ project-type: matrix
+ defaults: global
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 30
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ linaro:
+ - job-build
+ - job-cancel
+ disabled: false
+ node: build
+ child-workspace: .
+ display-name: 'Linaro Debian armhf rootfs'
+ scm:
+ - git:
+ url: git://git.linaro.org/ci/ubuntu-build-service.git
+ refspec: +refs/heads/master:refs/remotes/origin/master
+ name: origin
+ branches:
+ - refs/heads/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:
+ - alip
+ - developer
+ execution-strategy:
+ sequential: true
+ wrappers:
+ - timestamps
+ - matrix-tie-parent:
+ node: build
+ - timeout:
+ timeout: 120
+ builders:
+ - linaro-publish-token
+ - shell: |
+ #!/bin/bash
+
+ trap cleanup_exit INT TERM EXIT
+
+ cleanup_exit()
+ {
+ cd ${WORKSPACE}
+ sudo umount builddir
+ }
+
+ dpkg -s qemu-user-static |grep '^Version'
+ dpkg -s live-build |grep '^Version'
+
+ test -d builddir || mkdir builddir
+ sudo mount -t tmpfs -o size=6G tmpfs builddir
+ cp -a jessie-armhf-${rootfs} builddir/
+ cd builddir/jessie-armhf-${rootfs}
+ ./configure
+ make
+
+ cd ${WORKSPACE}
+ sudo rm -rf out && mkdir out
+ sudo mv builddir/jessie-armhf-${rootfs}/linaro-jessie-* out
+ ${HOME}/bin/linaro-cp out debian/images/${rootfs}-armhf/${BUILD_NUMBER}
+ publishers:
+ - archive:
+ artifacts: 'out/*'
+ latest-only: true
+ - email:
+ recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org'