blob: cd6fab59cad2d5c8103685bf2e532697d9d80e4e [file] [log] [blame]
Aníbal Limón57c61672021-06-09 15:30:35 -05001- project:
2 name: trigger-lt-qcom-linux
Nicolas Dechesne55222182021-12-02 10:12:06 +01003
4 # defaults
5 repo: 'https://git.linaro.org/landing-teams/working/qualcomm/kernel.git'
6 configs_arm64: 'defconfig distro.config'
7 configs_arm: 'multi_v7_defconfig distro.config'
8 branch: 'release/qcomlt-{version}'
9 trigger: 'refs/heads/release/qcomlt-{version}'
10 refspec: '+refs/heads/*:refs/remotes/origin/*'
11 debian: ''
12
Aníbal Limón57c61672021-06-09 15:30:35 -050013 jobs:
Aníbal Limón7adf7d52021-06-21 13:41:22 -050014 - 'trigger-lt-qcom-linux-{version}':
Aníbal Limón7adf7d52021-06-21 13:41:22 -050015 version: '5.7'
Aníbal Limón53081a92021-11-30 12:58:32 -060016 flavor: 'release'
17 debian: 'linux'
Aníbal Limón7adf7d52021-06-21 13:41:22 -050018 - 'trigger-lt-qcom-linux-{version}':
Aníbal Limón7adf7d52021-06-21 13:41:22 -050019 version: '5.9'
Aníbal Limón53081a92021-11-30 12:58:32 -060020 flavor: 'release'
21 debian: 'linux'
Aníbal Limón7adf7d52021-06-21 13:41:22 -050022 - 'trigger-lt-qcom-linux-{version}':
Aníbal Limón7adf7d52021-06-21 13:41:22 -050023 version: '5.10'
Aníbal Limón53081a92021-11-30 12:58:32 -060024 flavor: 'release'
25 debian: 'linux'
Aníbal Limón7adf7d52021-06-21 13:41:22 -050026 - 'trigger-lt-qcom-linux-{version}':
Aníbal Limón7adf7d52021-06-21 13:41:22 -050027 version: '5.13'
Aníbal Limón53081a92021-11-30 12:58:32 -060028 flavor: 'release'
29 debian: 'linux'
Aníbal Limón41277c72021-09-23 08:18:24 -050030 - 'trigger-lt-qcom-linux-{version}':
Aníbal Limón41277c72021-09-23 08:18:24 -050031 version: '5.15'
Aníbal Limón53081a92021-11-30 12:58:32 -060032 flavor: 'release'
33 debian: 'linux'
Aníbal Limónad906502021-11-29 17:50:20 -060034 - 'trigger-lt-qcom-linux-{version}':
35 branch: 'integration-linux-qcomlt'
Nicolas Dechesne55222182021-12-02 10:12:06 +010036 trigger: 'refs/heads/{branch}'
Aníbal Limónad906502021-11-29 17:50:20 -060037 version: 'integration'
Aníbal Limón53081a92021-11-30 12:58:32 -060038 flavor: 'integration'
Aníbal Limónc06f6392021-11-29 17:58:22 -060039 - 'trigger-lt-qcom-linux-{version}':
40 branch: 'master'
Aníbal Limónf1e4db42021-11-30 12:16:21 -060041 trigger: 'refs/tags/v*'
42 refspec: '+refs/tags/*:refs/remotes/origin/tags/*'
Aníbal Limónc06f6392021-11-29 17:58:22 -060043 version: 'mainline'
44 repo: 'https://github.com/torvalds/linux.git'
Aníbal Limón2afce602021-11-29 19:19:23 -060045 configs_arm64: 'defconfig'
46 configs_arm: 'multi_v7_defconfig'
Aníbal Limón53081a92021-11-30 12:58:32 -060047 flavor: 'mainline'
Nicolas Dechesne55222182021-12-02 10:12:06 +010048
Aníbal Limón57c61672021-06-09 15:30:35 -050049- job-template:
Aníbal Limón7adf7d52021-06-21 13:41:22 -050050 name: 'trigger-lt-qcom-linux-{version}'
Aníbal Limón57c61672021-06-09 15:30:35 -050051 project-type: freestyle
52 defaults: global
53 logrotate:
54 daysToKeep: 30
55 numToKeep: 30
56 properties:
57 - authorization:
58 anonymous:
59 - job-read
60 - job-extended-read
61 - job-workspace
62 linaro-landing-team-qualcomm-personnel:
63 - job-read
64 - job-extended-read
65 - job-build
66 - job-cancel
67 disabled: false
68 node: triggers
69 display-name: 'Trigger for Qualcomm LT kernel {branch} branch'
70 scm:
71 - git:
Aníbal Limón776afdf2021-11-29 17:54:38 -060072 url: '{repo}'
Aníbal Limónf1e4db42021-11-30 12:16:21 -060073 refspec: '{refspec}'
Aníbal Limón57c61672021-06-09 15:30:35 -050074 name: origin
75 branches:
Aníbal Limónf1e4db42021-11-30 12:16:21 -060076 - '{trigger}'
Aníbal Limón57c61672021-06-09 15:30:35 -050077 skip-tag: true
78 shallow-clone: false
79 wipe-workspace: false
80 triggers:
81 - pollscm: 'H/5 * * * *'
82 wrappers:
83 - timestamps
84 - build-name:
Aníbal Limónedab1962021-11-30 10:29:23 -060085 name: '#${{BUILD_NUMBER}}-${{GIT_REVISION,length=8}}'
Aníbal Limón57c61672021-06-09 15:30:35 -050086 builders:
87 - shell: |
88 #!/bin/bash -e
89
90 # bring in stable and mainline tags
91 git fetch --tags https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git
92 git fetch --tags https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git
93
94 echo KERNEL_VERSION=$(make kernelversion) > qcomlt_parameters
95 echo KERNEL_DESCRIBE=$(git describe --always) >> qcomlt_parameters
Aníbal Limón7adf7d52021-06-21 13:41:22 -050096 echo KERNEL_BRANCH=$(echo $GIT_BRANCH | sed 's|origin/||') >> qcomlt_parameters
Aníbal Limóndc2c1732021-11-30 12:53:36 -060097 echo KERNEL_FLAVOR={flavor} >> qcomlt_parameters
Aníbal Limón53081a92021-11-30 12:58:32 -060098 echo KERNEL_DEBIAN={debian} >> qcomlt_parameters
Aníbal Limón57c61672021-06-09 15:30:35 -050099 echo TARGET_REPO=linaro-overlay-sid >> qcomlt_parameters
100 echo KDEB_CHANGELOG_DIST=unstable >> qcomlt_parameters
Aníbal Limón0e83fc32021-11-29 18:25:49 -0600101
102 echo KERNEL_CONFIGS_arm={configs_arm} >> qcomlt_parameters
103 echo KERNEL_CONFIGS_arm64={configs_arm64} >> qcomlt_parameters
Aníbal Limón57c61672021-06-09 15:30:35 -0500104 cat qcomlt_parameters
105 publishers:
106 - trigger-parameterized-builds:
107 - project:
108 - 'lt-qcom-linux'
109 condition: SUCCESS
110 property-file: qcomlt_parameters
111 - email-ext:
112 recipients: 'anibal.limon@linaro.org nicolas.dechesne@linaro.org'
113 failure: true
114 still-failing: true