Aníbal Limón | 57c6167 | 2021-06-09 15:30:35 -0500 | [diff] [blame] | 1 | - project: |
| 2 | name: trigger-lt-qcom-linux |
Nicolas Dechesne | 5522218 | 2021-12-02 10:12:06 +0100 | [diff] [blame] | 3 | |
| 4 | # defaults |
Leonardo Sandoval | 97c0425 | 2023-01-26 12:11:33 -0600 | [diff] [blame] | 5 | repo: 'https://git.codelinaro.org/linaro/qcomlt/kernel.git' |
Nicolas Dechesne | 5522218 | 2021-12-02 10:12:06 +0100 | [diff] [blame] | 6 | configs_arm64: 'defconfig distro.config' |
| 7 | configs_arm: 'multi_v7_defconfig distro.config' |
| 8 | branch: 'release/qcomlt-{version}' |
Nicolas Dechesne | cf378ae | 2021-12-21 08:20:03 +0100 | [diff] [blame] | 9 | trigger: |
| 10 | - 'refs/heads/release/qcomlt-{version}' |
Nicolas Dechesne | 5522218 | 2021-12-02 10:12:06 +0100 | [diff] [blame] | 11 | refspec: '+refs/heads/*:refs/remotes/origin/*' |
| 12 | debian: '' |
| 13 | |
Aníbal Limón | 57c6167 | 2021-06-09 15:30:35 -0500 | [diff] [blame] | 14 | jobs: |
Aníbal Limón | 7adf7d5 | 2021-06-21 13:41:22 -0500 | [diff] [blame] | 15 | - 'trigger-lt-qcom-linux-{version}': |
Aníbal Limón | 7adf7d5 | 2021-06-21 13:41:22 -0500 | [diff] [blame] | 16 | version: '5.7' |
Aníbal Limón | 53081a9 | 2021-11-30 12:58:32 -0600 | [diff] [blame] | 17 | flavor: 'release' |
| 18 | debian: 'linux' |
Aníbal Limón | 7adf7d5 | 2021-06-21 13:41:22 -0500 | [diff] [blame] | 19 | - 'trigger-lt-qcom-linux-{version}': |
Aníbal Limón | 7adf7d5 | 2021-06-21 13:41:22 -0500 | [diff] [blame] | 20 | version: '5.9' |
Aníbal Limón | 53081a9 | 2021-11-30 12:58:32 -0600 | [diff] [blame] | 21 | flavor: 'release' |
| 22 | debian: 'linux' |
Aníbal Limón | 7adf7d5 | 2021-06-21 13:41:22 -0500 | [diff] [blame] | 23 | - 'trigger-lt-qcom-linux-{version}': |
Aníbal Limón | 7adf7d5 | 2021-06-21 13:41:22 -0500 | [diff] [blame] | 24 | version: '5.10' |
Aníbal Limón | 53081a9 | 2021-11-30 12:58:32 -0600 | [diff] [blame] | 25 | flavor: 'release' |
| 26 | debian: 'linux' |
Aníbal Limón | 7adf7d5 | 2021-06-21 13:41:22 -0500 | [diff] [blame] | 27 | - 'trigger-lt-qcom-linux-{version}': |
Aníbal Limón | 7adf7d5 | 2021-06-21 13:41:22 -0500 | [diff] [blame] | 28 | version: '5.13' |
Aníbal Limón | 53081a9 | 2021-11-30 12:58:32 -0600 | [diff] [blame] | 29 | flavor: 'release' |
| 30 | debian: 'linux' |
Aníbal Limón | 41277c7 | 2021-09-23 08:18:24 -0500 | [diff] [blame] | 31 | - 'trigger-lt-qcom-linux-{version}': |
Aníbal Limón | 41277c7 | 2021-09-23 08:18:24 -0500 | [diff] [blame] | 32 | version: '5.15' |
Aníbal Limón | 53081a9 | 2021-11-30 12:58:32 -0600 | [diff] [blame] | 33 | flavor: 'release' |
| 34 | debian: 'linux' |
Aníbal Limón | ad90650 | 2021-11-29 17:50:20 -0600 | [diff] [blame] | 35 | - 'trigger-lt-qcom-linux-{version}': |
| 36 | branch: 'integration-linux-qcomlt' |
Nicolas Dechesne | cf378ae | 2021-12-21 08:20:03 +0100 | [diff] [blame] | 37 | trigger: |
| 38 | - 'refs/heads/{branch}' |
Aníbal Limón | ad90650 | 2021-11-29 17:50:20 -0600 | [diff] [blame] | 39 | version: 'integration' |
Aníbal Limón | 53081a9 | 2021-11-30 12:58:32 -0600 | [diff] [blame] | 40 | flavor: 'integration' |
Aníbal Limón | c06f639 | 2021-11-29 17:58:22 -0600 | [diff] [blame] | 41 | - 'trigger-lt-qcom-linux-{version}': |
| 42 | branch: 'master' |
Nicolas Dechesne | cf378ae | 2021-12-21 08:20:03 +0100 | [diff] [blame] | 43 | trigger: |
| 44 | - 'refs/tags/v4.*' |
| 45 | - 'refs/tags/v5.*' |
Nicolas Dechesne | 27e03ac | 2022-08-17 09:44:36 +0200 | [diff] [blame] | 46 | - 'refs/tags/v6.*' |
Aníbal Limón | 856d435 | 2022-01-06 14:43:05 -0600 | [diff] [blame] | 47 | refspec: '+refs/heads/master:refs/remotes/origin/master +refs/tags/*:refs/remotes/origin/tags/*' |
Aníbal Limón | c06f639 | 2021-11-29 17:58:22 -0600 | [diff] [blame] | 48 | version: 'mainline' |
Nicolas Dechesne | c35910b | 2021-12-21 08:36:28 +0100 | [diff] [blame] | 49 | repo: 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git' |
Aníbal Limón | 2afce60 | 2021-11-29 19:19:23 -0600 | [diff] [blame] | 50 | configs_arm64: 'defconfig' |
| 51 | configs_arm: 'multi_v7_defconfig' |
Aníbal Limón | 53081a9 | 2021-11-30 12:58:32 -0600 | [diff] [blame] | 52 | flavor: 'mainline' |
Nicolas Dechesne | 5522218 | 2021-12-02 10:12:06 +0100 | [diff] [blame] | 53 | |
Aníbal Limón | 57c6167 | 2021-06-09 15:30:35 -0500 | [diff] [blame] | 54 | - job-template: |
Aníbal Limón | 7adf7d5 | 2021-06-21 13:41:22 -0500 | [diff] [blame] | 55 | name: 'trigger-lt-qcom-linux-{version}' |
Aníbal Limón | 57c6167 | 2021-06-09 15:30:35 -0500 | [diff] [blame] | 56 | project-type: freestyle |
Aníbal Limón | 57c6167 | 2021-06-09 15:30:35 -0500 | [diff] [blame] | 57 | properties: |
| 58 | - authorization: |
| 59 | anonymous: |
| 60 | - job-read |
| 61 | - job-extended-read |
| 62 | - job-workspace |
Nicolas Dechesne | ce59361 | 2022-03-02 13:54:28 +0100 | [diff] [blame] | 63 | linaro-qualcomm-ci: |
Aníbal Limón | 57c6167 | 2021-06-09 15:30:35 -0500 | [diff] [blame] | 64 | - job-read |
| 65 | - job-extended-read |
| 66 | - job-build |
| 67 | - job-cancel |
Nicolas Dechesne | 343d2a3 | 2021-12-02 10:23:51 +0100 | [diff] [blame] | 68 | - build-discarder: |
| 69 | days-to-keep: 30 |
| 70 | num-to-keep: 30 |
| 71 | artifact-num-to-keep: 1 |
Aníbal Limón | 57c6167 | 2021-06-09 15:30:35 -0500 | [diff] [blame] | 72 | disabled: false |
| 73 | node: triggers |
| 74 | display-name: 'Trigger for Qualcomm LT kernel {branch} branch' |
| 75 | scm: |
| 76 | - git: |
Aníbal Limón | 776afdf | 2021-11-29 17:54:38 -0600 | [diff] [blame] | 77 | url: '{repo}' |
Aníbal Limón | f1e4db4 | 2021-11-30 12:16:21 -0600 | [diff] [blame] | 78 | refspec: '{refspec}' |
Aníbal Limón | 57c6167 | 2021-06-09 15:30:35 -0500 | [diff] [blame] | 79 | name: origin |
Nicolas Dechesne | cf378ae | 2021-12-21 08:20:03 +0100 | [diff] [blame] | 80 | branches: '{trigger}' |
Aníbal Limón | 3cab493 | 2022-01-06 14:28:49 -0600 | [diff] [blame] | 81 | skip-tag: true |
Aníbal Limón | 1966c74 | 2021-12-14 10:38:41 -0600 | [diff] [blame] | 82 | shallow-clone: false |
Aníbal Limón | 57c6167 | 2021-06-09 15:30:35 -0500 | [diff] [blame] | 83 | wipe-workspace: false |
| 84 | triggers: |
Nicolas Dechesne | 343d2a3 | 2021-12-02 10:23:51 +0100 | [diff] [blame] | 85 | - pollscm: |
| 86 | cron: 'H/5 * * * *' |
Aníbal Limón | 57c6167 | 2021-06-09 15:30:35 -0500 | [diff] [blame] | 87 | wrappers: |
| 88 | - timestamps |
| 89 | - build-name: |
Aníbal Limón | edab196 | 2021-11-30 10:29:23 -0600 | [diff] [blame] | 90 | name: '#${{BUILD_NUMBER}}-${{GIT_REVISION,length=8}}' |
Aníbal Limón | 57c6167 | 2021-06-09 15:30:35 -0500 | [diff] [blame] | 91 | 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ón | 87e9f9e | 2021-12-08 08:59:02 -0600 | [diff] [blame] | 101 | echo KERNEL_REPO_URL={repo} >> qcomlt_parameters |
Aníbal Limón | 4143ecd | 2022-01-06 14:02:05 -0600 | [diff] [blame] | 102 | 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ón | dc2c173 | 2021-11-30 12:53:36 -0600 | [diff] [blame] | 107 | echo KERNEL_FLAVOR={flavor} >> qcomlt_parameters |
Aníbal Limón | 53081a9 | 2021-11-30 12:58:32 -0600 | [diff] [blame] | 108 | echo KERNEL_DEBIAN={debian} >> qcomlt_parameters |
Aníbal Limón | 57c6167 | 2021-06-09 15:30:35 -0500 | [diff] [blame] | 109 | echo TARGET_REPO=linaro-overlay-sid >> qcomlt_parameters |
| 110 | echo KDEB_CHANGELOG_DIST=unstable >> qcomlt_parameters |
Aníbal Limón | 0e83fc3 | 2021-11-29 18:25:49 -0600 | [diff] [blame] | 111 | |
| 112 | echo KERNEL_CONFIGS_arm={configs_arm} >> qcomlt_parameters |
| 113 | echo KERNEL_CONFIGS_arm64={configs_arm64} >> qcomlt_parameters |
Aníbal Limón | 57c6167 | 2021-06-09 15:30:35 -0500 | [diff] [blame] | 114 | 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 Baryshkov | 1c83c0f | 2023-06-02 15:36:10 +0300 | [diff] [blame] | 122 | recipients: 'leonardo.sandoval@linaro.org dmitry.baryshkov@linaro.org' |
Aníbal Limón | 57c6167 | 2021-06-09 15:30:35 -0500 | [diff] [blame] | 123 | failure: true |
| 124 | still-failing: true |