blob: 4124cb1f619bda0116fd5c86fb8a9d532d8296f8 [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
Aníbal Limón57c61672021-06-09 15:30:35 -050052 properties:
53 - authorization:
54 anonymous:
55 - job-read
56 - job-extended-read
57 - job-workspace
58 linaro-landing-team-qualcomm-personnel:
59 - job-read
60 - job-extended-read
61 - job-build
62 - job-cancel
Nicolas Dechesne343d2a32021-12-02 10:23:51 +010063 - build-discarder:
64 days-to-keep: 30
65 num-to-keep: 30
66 artifact-num-to-keep: 1
Aníbal Limón57c61672021-06-09 15:30:35 -050067 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:
Nicolas Dechesne343d2a32021-12-02 10:23:51 +010081 - pollscm:
82 cron: 'H/5 * * * *'
Aníbal Limón57c61672021-06-09 15:30:35 -050083 wrappers:
84 - timestamps
85 - build-name:
Aníbal Limónedab1962021-11-30 10:29:23 -060086 name: '#${{BUILD_NUMBER}}-${{GIT_REVISION,length=8}}'
Aníbal Limón57c61672021-06-09 15:30:35 -050087 builders:
88 - shell: |
89 #!/bin/bash -e
90
91 # bring in stable and mainline tags
92 git fetch --tags https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git
93 git fetch --tags https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git
94
95 echo KERNEL_VERSION=$(make kernelversion) > qcomlt_parameters
96 echo KERNEL_DESCRIBE=$(git describe --always) >> qcomlt_parameters
Aníbal Limón7adf7d52021-06-21 13:41:22 -050097 echo KERNEL_BRANCH=$(echo $GIT_BRANCH | sed 's|origin/||') >> qcomlt_parameters
Aníbal Limóndc2c1732021-11-30 12:53:36 -060098 echo KERNEL_FLAVOR={flavor} >> qcomlt_parameters
Aníbal Limón53081a92021-11-30 12:58:32 -060099 echo KERNEL_DEBIAN={debian} >> qcomlt_parameters
Aníbal Limón57c61672021-06-09 15:30:35 -0500100 echo TARGET_REPO=linaro-overlay-sid >> qcomlt_parameters
101 echo KDEB_CHANGELOG_DIST=unstable >> qcomlt_parameters
Aníbal Limón0e83fc32021-11-29 18:25:49 -0600102
103 echo KERNEL_CONFIGS_arm={configs_arm} >> qcomlt_parameters
104 echo KERNEL_CONFIGS_arm64={configs_arm64} >> qcomlt_parameters
Aníbal Limón57c61672021-06-09 15:30:35 -0500105 cat qcomlt_parameters
106 publishers:
107 - trigger-parameterized-builds:
108 - project:
109 - 'lt-qcom-linux'
110 condition: SUCCESS
111 property-file: qcomlt_parameters
112 - email-ext:
113 recipients: 'anibal.limon@linaro.org nicolas.dechesne@linaro.org'
114 failure: true
115 still-failing: true