aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2014-12-30 18:56:05 +0100
committerFathi Boudra <fathi.boudra@linaro.org>2015-01-05 10:28:42 +0000
commitbfdab021c05c96fb7e70d04711a33879a013a606 (patch)
treea481120477ec72b714c02c4b9a87b431ab2a242e
parent73f7e02e29852d61ab54d701a9b79865fb3d5fd4 (diff)
lt-qcom-working-tree: new job configuration for the 'working' kernel variant
this is the kernel build for the monthly member builds. Change-Id: I8c1e34bb6cdef663f2b8400a7ae8374366a70046 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r--lt-qcom-ubuntu-images.yaml2
-rw-r--r--lt-qcom-working-tree.yaml102
2 files changed, 103 insertions, 1 deletions
diff --git a/lt-qcom-ubuntu-images.yaml b/lt-qcom-ubuntu-images.yaml
index 2d3225938b..1683685c35 100644
--- a/lt-qcom-ubuntu-images.yaml
+++ b/lt-qcom-ubuntu-images.yaml
@@ -163,7 +163,7 @@
# Publish to snapshots
mkdir out
- sudo mv *.cfg *.img.gz *.deb zImage kernel_config README.txt `find . -maxdepth 1 -name 'fixup-*.bin' -print` out/
+ sudo mv *.cfg *.img.gz *.deb zImage kernel.config README.txt `find . -maxdepth 1 -name 'fixup-*.bin' -print` out/
# create MD5SUMS file
(cd out && md5sum * > MD5SUMS.txt)
diff --git a/lt-qcom-working-tree.yaml b/lt-qcom-working-tree.yaml
new file mode 100644
index 0000000000..23058e161c
--- /dev/null
+++ b/lt-qcom-working-tree.yaml
@@ -0,0 +1,102 @@
+- job:
+ name: LT-QCOM-working-tree
+ project-type: freestyle
+ defaults: global
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 30
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ linaro-landing-team-qualcomm-personnel:
+ - job-read
+ - job-extended-read
+ - job-build
+ - job-cancel
+ disabled: false
+ node: build
+ display-name: 'Qualcomm LT kernel (working)'
+ scm:
+ - git:
+ url: http://git.linaro.org/git/landing-teams/working/qualcomm/kernel.git
+ refspec: +refs/heads/release/qcomlt-3.18:refs/remotes/origin/release/qcomlt-3.18
+ name: origin
+ branches:
+ - origin/release/qcomlt-3.18
+ skip-tag: true
+ shallow-clone: true
+ wipe-workspace: false
+ triggers:
+ - pollscm: 'H/5 * * * *'
+ - reverse:
+ jobs: 'ubuntu-armhf-rootfs'
+ result: 'success'
+ wrappers:
+ - timestamps
+ - copy-to-slave:
+ includes:
+ - gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz
+ - build-name:
+ name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
+ builders:
+ - shell: |
+ #!/bin/bash
+
+ set -ex
+
+ trap cleanup_exit INT TERM EXIT
+
+ cleanup_exit()
+ {
+ cd ${WORKSPACE}
+ rm -rf lci-build-tools
+ rm -rf builddir*
+ rm -f builddeb.patch
+ }
+
+ # we cannot clean 'out' on exit but on entry instead, since its
+ # content is needed for triggers and publishers
+ rm -rf out
+
+ export LANG=C
+ CCACHE_DIR="$HOME/ccache"
+ CCACHE_UNIFY=1
+ CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros
+ export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS
+ export use_ccache=true
+ export make_install=true
+ export kernel_flavour="qcom"
+ export kernel_config="qcom_defconfig"
+ export toolchain_url="http://releases.linaro.org/14.04/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux.tar.xz"
+
+ test -d lci-build-tools || git clone https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools
+ wget http://people.linaro.org/~nicolas.dechesne/builddeb.patch
+ (cd lci-build-tools && patch -p1 < ../builddeb.patch)
+ bash lci-build-tools/jenkins_kernel_build_inst
+
+ cp -a *.deb out/
+
+ # IFC6410 needs ATAG fixup to boot
+ cp -a fixup.bin out/fixup-qcom-apq8064-ifc6410.bin
+ cp -a fixup.bin out/fixup-qcom-apq8064-cm-qs600.bin
+
+ # these variables are required by lt-qcom-ubuntu-images job
+ cat << EOF > out/lt-qcom-ubuntu-images_parameters
+ KERNEL_BUILD_JENKINS=${BUILD_URL}
+ KERNEL_FLAVOUR=${kernel_flavour}
+ KERNEL_SERIAL_CONSOLE=ttyMSM0,115200n8
+ EOF
+ - trigger-builds:
+ - project: 'lt-qcom-ubuntu-images'
+ property-file: out/lt-qcom-ubuntu-images_parameters
+ publishers:
+ - archive:
+ artifacts: 'out/*, out/dtbs/qcom-apq*.dtb'
+ latest-only: true
+ - email:
+ recipients: 'nicolas.dechesne@linaro.org fathi.boudra@linaro.org'
+ - ircbot:
+ channels:
+ - name: '#linaro-lt-qcomm'
+ password: ${LT_QCOM_KEY}