blob: e09e69bb0d82184fa8af49981c7fbb70107b7524 [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
Leonardo Sandoval97c04252023-01-26 12:11:33 -06005 repo: 'https://git.codelinaro.org/linaro/qcomlt/kernel.git'
Nicolas Dechesne55222182021-12-02 10:12:06 +01006 configs_arm64: 'defconfig distro.config'
7 configs_arm: 'multi_v7_defconfig distro.config'
8 branch: 'release/qcomlt-{version}'
Nicolas Dechesnecf378ae2021-12-21 08:20:03 +01009 trigger:
10 - 'refs/heads/release/qcomlt-{version}'
Nicolas Dechesne55222182021-12-02 10:12:06 +010011 refspec: '+refs/heads/*:refs/remotes/origin/*'
12 debian: ''
13
Aníbal Limón57c61672021-06-09 15:30:35 -050014 jobs:
Aníbal Limón7adf7d52021-06-21 13:41:22 -050015 - 'trigger-lt-qcom-linux-{version}':
Aníbal Limón7adf7d52021-06-21 13:41:22 -050016 version: '5.7'
Aníbal Limón53081a92021-11-30 12:58:32 -060017 flavor: 'release'
18 debian: 'linux'
Aníbal Limón7adf7d52021-06-21 13:41:22 -050019 - 'trigger-lt-qcom-linux-{version}':
Aníbal Limón7adf7d52021-06-21 13:41:22 -050020 version: '5.9'
Aníbal Limón53081a92021-11-30 12:58:32 -060021 flavor: 'release'
22 debian: 'linux'
Aníbal Limón7adf7d52021-06-21 13:41:22 -050023 - 'trigger-lt-qcom-linux-{version}':
Aníbal Limón7adf7d52021-06-21 13:41:22 -050024 version: '5.10'
Aníbal Limón53081a92021-11-30 12:58:32 -060025 flavor: 'release'
26 debian: 'linux'
Aníbal Limón7adf7d52021-06-21 13:41:22 -050027 - 'trigger-lt-qcom-linux-{version}':
Aníbal Limón7adf7d52021-06-21 13:41:22 -050028 version: '5.13'
Aníbal Limón53081a92021-11-30 12:58:32 -060029 flavor: 'release'
30 debian: 'linux'
Aníbal Limón41277c72021-09-23 08:18:24 -050031 - 'trigger-lt-qcom-linux-{version}':
Aníbal Limón41277c72021-09-23 08:18:24 -050032 version: '5.15'
Aníbal Limón53081a92021-11-30 12:58:32 -060033 flavor: 'release'
34 debian: 'linux'
Aníbal Limónad906502021-11-29 17:50:20 -060035 - 'trigger-lt-qcom-linux-{version}':
36 branch: 'integration-linux-qcomlt'
Nicolas Dechesnecf378ae2021-12-21 08:20:03 +010037 trigger:
38 - 'refs/heads/{branch}'
Aníbal Limónad906502021-11-29 17:50:20 -060039 version: 'integration'
Aníbal Limón53081a92021-11-30 12:58:32 -060040 flavor: 'integration'
Aníbal Limónc06f6392021-11-29 17:58:22 -060041 - 'trigger-lt-qcom-linux-{version}':
42 branch: 'master'
Nicolas Dechesnecf378ae2021-12-21 08:20:03 +010043 trigger:
44 - 'refs/tags/v4.*'
45 - 'refs/tags/v5.*'
Nicolas Dechesne27e03ac2022-08-17 09:44:36 +020046 - 'refs/tags/v6.*'
Aníbal Limón856d4352022-01-06 14:43:05 -060047 refspec: '+refs/heads/master:refs/remotes/origin/master +refs/tags/*:refs/remotes/origin/tags/*'
Aníbal Limónc06f6392021-11-29 17:58:22 -060048 version: 'mainline'
Nicolas Dechesnec35910b2021-12-21 08:36:28 +010049 repo: 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git'
Aníbal Limón2afce602021-11-29 19:19:23 -060050 configs_arm64: 'defconfig'
51 configs_arm: 'multi_v7_defconfig'
Aníbal Limón53081a92021-11-30 12:58:32 -060052 flavor: 'mainline'
Nicolas Dechesne55222182021-12-02 10:12:06 +010053
Aníbal Limón57c61672021-06-09 15:30:35 -050054- job-template:
Aníbal Limón7adf7d52021-06-21 13:41:22 -050055 name: 'trigger-lt-qcom-linux-{version}'
Aníbal Limón57c61672021-06-09 15:30:35 -050056 project-type: freestyle
Aníbal Limón57c61672021-06-09 15:30:35 -050057 properties:
58 - authorization:
59 anonymous:
60 - job-read
61 - job-extended-read
62 - job-workspace
Nicolas Dechesnece593612022-03-02 13:54:28 +010063 linaro-qualcomm-ci:
Aníbal Limón57c61672021-06-09 15:30:35 -050064 - job-read
65 - job-extended-read
66 - job-build
67 - job-cancel
Nicolas Dechesne343d2a32021-12-02 10:23:51 +010068 - build-discarder:
69 days-to-keep: 30
70 num-to-keep: 30
71 artifact-num-to-keep: 1
Aníbal Limón57c61672021-06-09 15:30:35 -050072 disabled: false
73 node: triggers
74 display-name: 'Trigger for Qualcomm LT kernel {branch} branch'
75 scm:
76 - git:
Aníbal Limón776afdf2021-11-29 17:54:38 -060077 url: '{repo}'
Aníbal Limónf1e4db42021-11-30 12:16:21 -060078 refspec: '{refspec}'
Aníbal Limón57c61672021-06-09 15:30:35 -050079 name: origin
Nicolas Dechesnecf378ae2021-12-21 08:20:03 +010080 branches: '{trigger}'
Aníbal Limón3cab4932022-01-06 14:28:49 -060081 skip-tag: true
Aníbal Limón1966c742021-12-14 10:38:41 -060082 shallow-clone: false
Aníbal Limón57c61672021-06-09 15:30:35 -050083 wipe-workspace: false
84 triggers:
Nicolas Dechesne343d2a32021-12-02 10:23:51 +010085 - pollscm:
86 cron: 'H/5 * * * *'
Aníbal Limón57c61672021-06-09 15:30:35 -050087 wrappers:
88 - timestamps
89 - build-name:
Aníbal Limónedab1962021-11-30 10:29:23 -060090 name: '#${{BUILD_NUMBER}}-${{GIT_REVISION,length=8}}'
Aníbal Limón57c61672021-06-09 15:30:35 -050091 builders:
92 - shell: |
93 #!/bin/bash -e
94
95 # bring in stable and mainline tags
96 git fetch --tags https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux.git
97 git fetch --tags https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git
98
99 echo KERNEL_VERSION=$(make kernelversion) > qcomlt_parameters
100 echo KERNEL_DESCRIBE=$(git describe --always) >> qcomlt_parameters
Aníbal Limón87e9f9e2021-12-08 08:59:02 -0600101 echo KERNEL_REPO_URL={repo} >> qcomlt_parameters
Aníbal Limón4143ecd2022-01-06 14:02:05 -0600102 if [ "{flavor}" = "mainline" ]; then
103 echo KERNEL_BRANCH=master >> qcomlt_parameters
104 else
105 echo KERNEL_BRANCH=$(echo $GIT_BRANCH | sed 's|origin/||') >> qcomlt_parameters
106 fi
Aníbal Limóndc2c1732021-11-30 12:53:36 -0600107 echo KERNEL_FLAVOR={flavor} >> qcomlt_parameters
Aníbal Limón53081a92021-11-30 12:58:32 -0600108 echo KERNEL_DEBIAN={debian} >> qcomlt_parameters
Aníbal Limón57c61672021-06-09 15:30:35 -0500109 echo TARGET_REPO=linaro-overlay-sid >> qcomlt_parameters
110 echo KDEB_CHANGELOG_DIST=unstable >> qcomlt_parameters
Aníbal Limón0e83fc32021-11-29 18:25:49 -0600111
112 echo KERNEL_CONFIGS_arm={configs_arm} >> qcomlt_parameters
113 echo KERNEL_CONFIGS_arm64={configs_arm64} >> qcomlt_parameters
Aníbal Limón57c61672021-06-09 15:30:35 -0500114 cat qcomlt_parameters
115 publishers:
116 - trigger-parameterized-builds:
117 - project:
118 - 'lt-qcom-linux'
119 condition: SUCCESS
120 property-file: qcomlt_parameters
121 - email-ext:
Dmitry Baryshkov1c83c0f2023-06-02 15:36:10 +0300122 recipients: 'leonardo.sandoval@linaro.org dmitry.baryshkov@linaro.org'
Aníbal Limón57c61672021-06-09 15:30:35 -0500123 failure: true
124 still-failing: true