aboutsummaryrefslogtreecommitdiff
path: root/lt-qcom-linux.yaml
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2017-09-20 16:15:17 +0200
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2017-09-20 14:37:01 +0000
commit2251862303ee78417fe1ed3b01a62cfaf4b4af29 (patch)
tree932aea8570eac6d033866c7a223a205da6b3e73a /lt-qcom-linux.yaml
parenta3c90ec6d19330d23406dcac1394bb5c40f468e3 (diff)
lt-qcom-linux: various updates and fixes
* split the main job into a standalone builders.sh file * beautify variable names * remove variable mangling from the trigger job, which now only reports info from git into the main job * add KERNEL_CONFIGS * fixup package name and package version: * pkgname is now made as linux-<kernel version>-qcomlt-<abi> * pkgversion is mostly based on 'git describe', and -rc is replaced by ~rc, and includes BUILD_NUMBER * for now, the <abi> is set to be BUILD_NUMBER, this can potentially be optimzed a bit, later. * the kernel sources are checked out into 'linux' folder since packages are created in ../ Change-Id: I306c9030eb1fe4bbac7ce9db58ade936fe33298c Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'lt-qcom-linux.yaml')
-rw-r--r--lt-qcom-linux.yaml28
1 files changed, 15 insertions, 13 deletions
diff --git a/lt-qcom-linux.yaml b/lt-qcom-linux.yaml
index 7e716668b8..bf8f90353e 100644
--- a/lt-qcom-linux.yaml
+++ b/lt-qcom-linux.yaml
@@ -16,24 +16,28 @@
- job-cancel
parameters:
- string:
- name: KERNELREPO
+ name: KERNEL_REPO_URL
default: 'https://git.linaro.org/landing-teams/working/qualcomm/kernel.git'
- string:
- name: KERNELRELEASE
+ name: KERNEL_CONFIGS
+ default: 'defconfig distro.config'
- string:
- name: KERNELVERSION
+ name: KERNEL_DESCRIBE
- string:
- name: KERNELBRANCH
+ name: KERNEL_VERSION
+ - string:
+ name: KERNEL_BRANCH
disabled: false
node: docker-jessie-amd64
display-name: 'Qualcomm LT Linux kernel build'
scm:
- git:
- url: ${KERNELREPO}
- refspec: +refs/heads/${KERNELBRANCH}:refs/remotes/origin/${KERNELBRANCH}
+ url: ${KERNEL_REPO_URL}
+ refspec: +refs/heads/${KERNEL_BRANCH}:refs/remotes/origin/${KERNEL_BRANCH}
name: origin
branches:
- - refs/heads/${KERNELBRANCH}
+ - refs/heads/${KERNEL_BRANCH}
+ basedir: linux
skip-tag: true
shallow-clone: true
wipe-workspace: false
@@ -45,12 +49,10 @@
- shell: |
#!/bin/bash
set -ex
- echo "Starting ${JOB_NAME} with the following parameters:"
- echo "KERNELRELEASE: ${KERNELRELEASE}"
- echo "KERNELVERSION: ${KERNELVERSION}"
- echo "KERNELBRANCH: ${KERNELBRANCH}"
- echo "GIT_COMMIT: ${GIT_COMMIT}"
- echo "GIT_BRANCH: ${GIT_BRANCH}"
+ sudo apt-get update
+ sudo apt-get install -y ccache
+ - shell:
+ !include-raw: lt-qcom-linux/builders.sh
publishers:
- email-ext:
recipients: 'nicolas.dechesne@linaro.org'