Nicolas Dechesne | e94db96 | 2017-09-19 22:57:19 +0200 | [diff] [blame] | 1 | - job: |
| 2 | name: lt-qcom-linux |
Nicolas Dechesne | 4db7f33 | 2017-11-22 22:34:30 +0100 | [diff] [blame] | 3 | project-type: matrix |
Nicolas Dechesne | e94db96 | 2017-09-19 22:57:19 +0200 | [diff] [blame] | 4 | defaults: global |
Nicolas Dechesne | e94db96 | 2017-09-19 22:57:19 +0200 | [diff] [blame] | 5 | properties: |
| 6 | - authorization: |
| 7 | anonymous: |
| 8 | - job-read |
| 9 | - job-extended-read |
| 10 | - job-workspace |
| 11 | linaro-landing-team-qualcomm-personnel: |
| 12 | - job-build |
| 13 | - job-cancel |
Fathi Boudra | cdb70ff | 2017-11-23 10:10:30 +0200 | [diff] [blame] | 14 | - build-discarder: |
| 15 | days-to-keep: 30 |
| 16 | num-to-keep: 30 |
| 17 | artifact-num-to-keep: 1 |
Nicolas Dechesne | d80a5fd | 2017-09-19 23:33:03 +0200 | [diff] [blame] | 18 | parameters: |
| 19 | - string: |
Nicolas Dechesne | 2251862 | 2017-09-20 16:15:17 +0200 | [diff] [blame] | 20 | name: KERNEL_REPO_URL |
Nicolas Dechesne | d80a5fd | 2017-09-19 23:33:03 +0200 | [diff] [blame] | 21 | default: 'https://git.linaro.org/landing-teams/working/qualcomm/kernel.git' |
| 22 | - string: |
Nicolas Dechesne | 8b4fe8c | 2017-11-22 22:17:16 +0100 | [diff] [blame] | 23 | name: KERNEL_CONFIGS_arm64 |
Nicolas Dechesne | 2251862 | 2017-09-20 16:15:17 +0200 | [diff] [blame] | 24 | default: 'defconfig distro.config' |
Nicolas Dechesne | d80a5fd | 2017-09-19 23:33:03 +0200 | [diff] [blame] | 25 | - string: |
Nicolas Dechesne | 8b4fe8c | 2017-11-22 22:17:16 +0100 | [diff] [blame] | 26 | name: KERNEL_CONFIGS_arm |
| 27 | default: 'multi_v7_defconfig distro.config' |
| 28 | - string: |
Nicolas Dechesne | b0e2c2c | 2017-11-29 15:46:01 +0100 | [diff] [blame^] | 29 | name: KERNEL_BUILD_TARGET |
| 30 | default: 'deb-pkg' |
| 31 | - string: |
Nicolas Dechesne | 2251862 | 2017-09-20 16:15:17 +0200 | [diff] [blame] | 32 | name: KERNEL_DESCRIBE |
Nicolas Dechesne | d80a5fd | 2017-09-19 23:33:03 +0200 | [diff] [blame] | 33 | - string: |
Nicolas Dechesne | 2251862 | 2017-09-20 16:15:17 +0200 | [diff] [blame] | 34 | name: KERNEL_VERSION |
| 35 | - string: |
| 36 | name: KERNEL_BRANCH |
Nicolas Dechesne | 4dc7dbb | 2017-09-28 00:55:14 -0700 | [diff] [blame] | 37 | - string: |
| 38 | name: TARGET_REPO |
| 39 | default: 'linaro-overlay-sid' |
Nicolas Dechesne | 415e331 | 2017-11-06 22:14:10 +0100 | [diff] [blame] | 40 | - string: |
| 41 | name: KDEB_CHANGELOG_DIST |
| 42 | default: 'sid' |
Nicolas Dechesne | 8b4fe8c | 2017-11-22 22:17:16 +0100 | [diff] [blame] | 43 | axes: |
| 44 | - axis: |
| 45 | type: user-defined |
| 46 | name: ARCH |
| 47 | values: |
| 48 | - arm |
| 49 | - arm64 |
Nicolas Dechesne | 4db7f33 | 2017-11-22 22:34:30 +0100 | [diff] [blame] | 50 | - axis: |
| 51 | type: slave |
| 52 | name: label |
| 53 | values: |
| 54 | - docker-jessie-amd64 |
Nicolas Dechesne | 8b4fe8c | 2017-11-22 22:17:16 +0100 | [diff] [blame] | 55 | execution-strategy: |
| 56 | sequential: false |
Nicolas Dechesne | e94db96 | 2017-09-19 22:57:19 +0200 | [diff] [blame] | 57 | disabled: false |
Nicolas Dechesne | 4db7f33 | 2017-11-22 22:34:30 +0100 | [diff] [blame] | 58 | node: master |
Nicolas Dechesne | e94db96 | 2017-09-19 22:57:19 +0200 | [diff] [blame] | 59 | display-name: 'Qualcomm LT Linux kernel build' |
| 60 | scm: |
| 61 | - git: |
Nicolas Dechesne | 2251862 | 2017-09-20 16:15:17 +0200 | [diff] [blame] | 62 | url: ${KERNEL_REPO_URL} |
| 63 | refspec: +refs/heads/${KERNEL_BRANCH}:refs/remotes/origin/${KERNEL_BRANCH} |
Nicolas Dechesne | e94db96 | 2017-09-19 22:57:19 +0200 | [diff] [blame] | 64 | name: origin |
| 65 | branches: |
Nicolas Dechesne | 2251862 | 2017-09-20 16:15:17 +0200 | [diff] [blame] | 66 | - refs/heads/${KERNEL_BRANCH} |
| 67 | basedir: linux |
Nicolas Dechesne | e94db96 | 2017-09-19 22:57:19 +0200 | [diff] [blame] | 68 | skip-tag: true |
| 69 | shallow-clone: true |
| 70 | wipe-workspace: false |
| 71 | wrappers: |
| 72 | - timestamps |
| 73 | - build-name: |
| 74 | name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' |
| 75 | builders: |
| 76 | - shell: | |
| 77 | #!/bin/bash |
| 78 | set -ex |
Nicolas Dechesne | 2251862 | 2017-09-20 16:15:17 +0200 | [diff] [blame] | 79 | sudo apt-get update |
Nicolas Dechesne | facfcf0 | 2017-10-02 21:50:35 +0200 | [diff] [blame] | 80 | sudo apt-get install -y ccache bc kmod cpio |
Nicolas Dechesne | 2251862 | 2017-09-20 16:15:17 +0200 | [diff] [blame] | 81 | - shell: |
| 82 | !include-raw: lt-qcom-linux/builders.sh |
Fathi Boudra | cd6187a | 2017-11-24 16:06:51 +0200 | [diff] [blame] | 83 | - trigger-builds: |
| 84 | - project: 'build-package-obs' |
| 85 | property-file: params |
| 86 | block: true |
Nicolas Dechesne | e94db96 | 2017-09-19 22:57:19 +0200 | [diff] [blame] | 87 | publishers: |
| 88 | - email-ext: |
Aníbal Limón | a21902f | 2017-10-03 15:01:10 -0500 | [diff] [blame] | 89 | recipients: 'nicolas.dechesne@linaro.org anibal.limon@linaro.org' |
Nicolas Dechesne | e94db96 | 2017-09-19 22:57:19 +0200 | [diff] [blame] | 90 | always: true |
Nicolas Dechesne | 8b4fe8c | 2017-11-22 22:17:16 +0100 | [diff] [blame] | 91 | matrix-trigger: only-parent |