blob: d7eeb4468c1849cccdc21694a0e29e22952b9c64 [file] [log] [blame]
Nicolas Dechesnee94db962017-09-19 22:57:19 +02001- job:
2 name: lt-qcom-linux
Nicolas Dechesne4db7f332017-11-22 22:34:30 +01003 project-type: matrix
Nicolas Dechesnee94db962017-09-19 22:57:19 +02004 defaults: global
Nicolas Dechesnee94db962017-09-19 22:57:19 +02005 properties:
6 - authorization:
7 anonymous:
8 - job-read
9 - job-extended-read
10 - job-workspace
Nicolas Dechesnece593612022-03-02 13:54:28 +010011 linaro-qualcomm-ci:
Nicolas Dechesnee94db962017-09-19 22:57:19 +020012 - job-build
13 - job-cancel
Fathi Boudracdb70ff2017-11-23 10:10:30 +020014 - build-discarder:
15 days-to-keep: 30
16 num-to-keep: 30
17 artifact-num-to-keep: 1
Nicolas Dechesned80a5fd2017-09-19 23:33:03 +020018 parameters:
19 - string:
Nicolas Dechesne22518622017-09-20 16:15:17 +020020 name: KERNEL_REPO_URL
Leonardo Sandoval97c04252023-01-26 12:11:33 -060021 default: 'https://git.codelinaro.org/linaro/qcomlt/kernel.git'
Nicolas Dechesned80a5fd2017-09-19 23:33:03 +020022 - string:
Nicolas Dechesne8b4fe8c2017-11-22 22:17:16 +010023 name: KERNEL_CONFIGS_arm64
Nicolas Dechesne22518622017-09-20 16:15:17 +020024 default: 'defconfig distro.config'
Nicolas Dechesned80a5fd2017-09-19 23:33:03 +020025 - string:
Nicolas Dechesne8b4fe8c2017-11-22 22:17:16 +010026 name: KERNEL_CONFIGS_arm
27 default: 'multi_v7_defconfig distro.config'
28 - string:
Nicolas Dechesneb0e2c2c2017-11-29 15:46:01 +010029 name: KERNEL_BUILD_TARGET
30 default: 'deb-pkg'
31 - string:
Nicolas Dechesne22518622017-09-20 16:15:17 +020032 name: KERNEL_DESCRIBE
Nicolas Dechesned80a5fd2017-09-19 23:33:03 +020033 - string:
Nicolas Dechesne22518622017-09-20 16:15:17 +020034 name: KERNEL_VERSION
35 - string:
36 name: KERNEL_BRANCH
Nicolas Dechesne4dc7dbb2017-09-28 00:55:14 -070037 - string:
Aníbal Limóndc2c1732021-11-30 12:53:36 -060038 name: KERNEL_FLAVOR
Aníbal Limónec0e09a2021-11-29 18:40:46 -060039 default: 'linux'
40 - string:
Aníbal Limón53081a92021-11-30 12:58:32 -060041 name: KERNEL_DEBIAN
42 default: ''
43 - string:
Nicolas Dechesne4dc7dbb2017-09-28 00:55:14 -070044 name: TARGET_REPO
45 default: 'linaro-overlay-sid'
Nicolas Dechesne415e3312017-11-06 22:14:10 +010046 - string:
47 name: KDEB_CHANGELOG_DIST
48 default: 'sid'
Aníbal Limón546ebac2020-05-26 10:38:07 -050049 - string:
50 name: UPDATE_DEFCONFIG
51 default: 'True'
Nicolas Dechesne8b4fe8c2017-11-22 22:17:16 +010052 axes:
53 - axis:
54 type: user-defined
55 name: ARCH
56 values:
57 - arm
58 - arm64
Nicolas Dechesne4db7f332017-11-22 22:34:30 +010059 - axis:
60 type: slave
61 name: label
62 values:
Aníbal Limónc552beb2022-01-05 16:48:20 -060063 - docker-buster-amd64
Nicolas Dechesne8b4fe8c2017-11-22 22:17:16 +010064 execution-strategy:
65 sequential: false
Benjamin Copeland4def3352024-02-21 09:41:35 +000066 disabled: true
Kelley Spooncbca99f2022-04-20 04:06:43 -050067 node: master
Nicolas Dechesne18d2c0e2019-02-21 23:18:12 +010068 display-name: 'Qualcomm LT Dragonboard Linux kernel build'
Nicolas Dechesnee94db962017-09-19 22:57:19 +020069 scm:
70 - git:
Nicolas Dechesne22518622017-09-20 16:15:17 +020071 url: ${KERNEL_REPO_URL}
72 refspec: +refs/heads/${KERNEL_BRANCH}:refs/remotes/origin/${KERNEL_BRANCH}
Nicolas Dechesnee94db962017-09-19 22:57:19 +020073 name: origin
74 branches:
Nicolas Dechesne22518622017-09-20 16:15:17 +020075 - refs/heads/${KERNEL_BRANCH}
76 basedir: linux
Nicolas Dechesnee94db962017-09-19 22:57:19 +020077 skip-tag: true
78 shallow-clone: true
79 wipe-workspace: false
80 wrappers:
81 - timestamps
82 - build-name:
83 name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
Dmitry Baryshkovade252f2024-02-06 17:39:12 +020084 - credentials-binding:
85 - text:
86 credential-id: snapshots-api-key
87 variable: PUBLISH_KEY
Nicolas Dechesnee94db962017-09-19 22:57:19 +020088 builders:
Aníbal Limón4d0a5662021-01-20 20:28:00 -060089 - shell:
90 !include-raw: lt-qcom-linux/builders-deps.sh
Nicolas Dechesne22518622017-09-20 16:15:17 +020091 - shell:
Aníbal Limón7e5e0ec2020-05-25 18:15:46 -050092 !include-raw: lt-qcom/install-gcc-toolchain.sh
93 - inject:
94 properties-file: gcc_toolchain_env
95 - shell:
Nicolas Dechesne22518622017-09-20 16:15:17 +020096 !include-raw: lt-qcom-linux/builders.sh
Aníbal Limón8a011952021-06-09 19:06:41 -050097 - inject:
98 properties-file: kernel_parameters
Aníbal Limón7e407fa2021-12-02 08:21:17 -060099 - linaro-publish-token
Aníbal Limón8a011952021-06-09 19:06:41 -0500100 - shell:
101 !include-raw: lt-qcom-linux/builders_linaro_ci.sh
102 - inject:
103 properties-file: pub_dest_parameters
Aníbal Limón8a011952021-06-09 19:06:41 -0500104 - shell:
105 !include-raw: lt-qcom/publishers.sh
Fathi Boudracd6187a2017-11-24 16:06:51 +0200106 - trigger-builds:
Aníbal Limón1dc183e2021-12-01 17:59:09 -0600107 - project: 'lt-qcom-linux-test-${KERNEL_FLAVOR}'
108 property-file: test_params
Fathi Boudracd6187a2017-11-24 16:06:51 +0200109 - project: 'build-package-obs'
110 property-file: params
111 block: true
Nicolas Dechesnee94db962017-09-19 22:57:19 +0200112 publishers:
113 - email-ext:
Dmitry Baryshkov1c83c0f2023-06-02 15:36:10 +0300114 recipients: 'leonardo.sandoval@linaro.org dmitry.baryshkov@linaro.org'
Nicolas Dechesne00cedfe2019-05-29 13:32:42 +0200115 failure: true
116 still-failing: true
Nicolas Dechesne8b4fe8c2017-11-22 22:17:16 +0100117 matrix-trigger: only-parent