Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 1 | parameters: |
Filip Pytloun | a83bbee | 2017-03-15 18:13:59 +0100 | [diff] [blame] | 2 | _param: |
| 3 | jenkins_contrail_pipeline: "${_param:jenkins_gerrit_url}/contrail/contrail-pipeline" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 4 | jenkins: |
| 5 | client: |
| 6 | job_template: |
| 7 | build-opencontrail: |
| 8 | name: build-opencontrail-{{buildname}}-{{os}}-{{dist}} |
| 9 | jobs: |
| 10 | - buildname: oc303 |
| 11 | os: ubuntu |
| 12 | dist: trusty |
| 13 | branch: R3.0.3.x |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 14 | ppa: mirantis-opencontrail/opencontrail-3.0.3 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 15 | upload_source_package: false |
chnyda | 063bf3d | 2017-07-20 10:57:56 +0200 | [diff] [blame] | 16 | dpdk: contrail_dpdk_2_1 |
chnyda | 3ab8f8d | 2017-08-23 14:04:00 +0200 | [diff] [blame] | 17 | build_trigger: "" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 18 | - buildname: oc31 |
| 19 | os: ubuntu |
| 20 | dist: trusty |
| 21 | branch: R3.1 |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 22 | ppa: mirantis-opencontrail/opencontrail-3.1 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 23 | upload_source_package: true |
chnyda | 063bf3d | 2017-07-20 10:57:56 +0200 | [diff] [blame] | 24 | dpdk: contrail_dpdk_2_1 |
chnyda | 3ab8f8d | 2017-08-23 14:04:00 +0200 | [diff] [blame] | 25 | build_trigger: "" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 26 | - buildname: oc31 |
| 27 | os: ubuntu |
| 28 | dist: xenial |
| 29 | branch: R3.1 |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 30 | ppa: mirantis-opencontrail/opencontrail-3.1 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 31 | upload_source_package: true |
chnyda | 063bf3d | 2017-07-20 10:57:56 +0200 | [diff] [blame] | 32 | dpdk: contrail_dpdk_2_1 |
chnyda | 3ab8f8d | 2017-08-23 14:04:00 +0200 | [diff] [blame] | 33 | build_trigger: "" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 34 | - buildname: oc311 |
| 35 | os: ubuntu |
| 36 | dist: trusty |
| 37 | branch: R3.1.1.x |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 38 | ppa: mirantis-opencontrail/opencontrail-3.1.1 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 39 | upload_source_package: true |
chnyda | 063bf3d | 2017-07-20 10:57:56 +0200 | [diff] [blame] | 40 | dpdk: contrail_dpdk_2_1 |
chnyda | 47ba237 | 2017-10-12 16:52:26 +0200 | [diff] [blame] | 41 | build_trigger: "" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 42 | - buildname: oc311 |
| 43 | os: ubuntu |
| 44 | dist: xenial |
| 45 | branch: R3.1.1.x |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 46 | ppa: mirantis-opencontrail/opencontrail-3.1.1 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 47 | upload_source_package: true |
chnyda | 063bf3d | 2017-07-20 10:57:56 +0200 | [diff] [blame] | 48 | dpdk: contrail_dpdk_2_1 |
chnyda | 47ba237 | 2017-10-12 16:52:26 +0200 | [diff] [blame] | 49 | build_trigger: "" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 50 | - buildname: oc32 |
| 51 | os: ubuntu |
| 52 | dist: trusty |
| 53 | branch: R3.2 |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 54 | ppa: mirantis-opencontrail/opencontrail-3.2 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 55 | upload_source_package: true |
chnyda | 9f2f2c2 | 2018-01-22 11:06:25 +0100 | [diff] [blame] | 56 | dpdk: contrail_dpdk_17_02 |
chnyda | 3ab8f8d | 2017-08-23 14:04:00 +0200 | [diff] [blame] | 57 | build_trigger: "" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 58 | - buildname: oc32 |
| 59 | os: ubuntu |
| 60 | dist: xenial |
| 61 | branch: R3.2 |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 62 | ppa: mirantis-opencontrail/opencontrail-3.2 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 63 | upload_source_package: true |
chnyda | 9f2f2c2 | 2018-01-22 11:06:25 +0100 | [diff] [blame] | 64 | dpdk: contrail_dpdk_17_02 |
chnyda | 3ab8f8d | 2017-08-23 14:04:00 +0200 | [diff] [blame] | 65 | build_trigger: "" |
chnyda | 1ece519 | 2017-06-08 18:23:52 +0200 | [diff] [blame] | 66 | - buildname: oc323 |
| 67 | os: ubuntu |
| 68 | dist: trusty |
| 69 | branch: R3.2.3.x |
| 70 | ppa: mirantis-opencontrail/opencontrail-3.2.3 |
| 71 | upload_source_package: true |
chnyda | 063bf3d | 2017-07-20 10:57:56 +0200 | [diff] [blame] | 72 | dpdk: contrail_dpdk_2_1 |
chnyda | 47ba237 | 2017-10-12 16:52:26 +0200 | [diff] [blame] | 73 | build_trigger: "" |
chnyda | 1ece519 | 2017-06-08 18:23:52 +0200 | [diff] [blame] | 74 | - buildname: oc323 |
| 75 | os: ubuntu |
| 76 | dist: xenial |
| 77 | branch: R3.2.3.x |
| 78 | ppa: mirantis-opencontrail/opencontrail-3.2.3 |
| 79 | upload_source_package: true |
chnyda | 063bf3d | 2017-07-20 10:57:56 +0200 | [diff] [blame] | 80 | dpdk: contrail_dpdk_2_1 |
chnyda | 47ba237 | 2017-10-12 16:52:26 +0200 | [diff] [blame] | 81 | build_trigger: "" |
chnyda | 2ad4b73 | 2017-05-09 10:28:45 +0200 | [diff] [blame] | 82 | - buildname: oc40 |
| 83 | os: ubuntu |
| 84 | dist: trusty |
| 85 | branch: R4.0 |
| 86 | ppa: mirantis-opencontrail/opencontrail-4.0 |
chnyda | 063bf3d | 2017-07-20 10:57:56 +0200 | [diff] [blame] | 87 | upload_source_package: true |
chnyda | 0eb4170 | 2017-08-28 13:31:11 +0200 | [diff] [blame] | 88 | dpdk: contrail_dpdk_17_02 |
chnyda | 35c7bf2 | 2017-10-17 14:35:01 +0200 | [diff] [blame] | 89 | build_trigger: "H H(20-23) */3 * *" |
chnyda | 2ad4b73 | 2017-05-09 10:28:45 +0200 | [diff] [blame] | 90 | - buildname: oc40 |
| 91 | os: ubuntu |
| 92 | dist: xenial |
| 93 | branch: R4.0 |
| 94 | ppa: mirantis-opencontrail/opencontrail-4.0 |
chnyda | 063bf3d | 2017-07-20 10:57:56 +0200 | [diff] [blame] | 95 | upload_source_package: true |
chnyda | 063bf3d | 2017-07-20 10:57:56 +0200 | [diff] [blame] | 96 | dpdk: contrail_dpdk_17_02 |
chnyda | 35c7bf2 | 2017-10-17 14:35:01 +0200 | [diff] [blame] | 97 | build_trigger: "H H(20-23) */3 * *" |
chnyda | 850478d | 2017-09-26 10:44:02 +0200 | [diff] [blame] | 98 | - buildname: oc41 |
| 99 | os: ubuntu |
| 100 | dist: trusty |
| 101 | branch: R4.1 |
| 102 | ppa: mirantis-opencontrail/opencontrail-4.1 |
| 103 | upload_source_package: true |
| 104 | dpdk: contrail_dpdk_17_02 |
chnyda | 35c7bf2 | 2017-10-17 14:35:01 +0200 | [diff] [blame] | 105 | build_trigger: "H H(20-23) */7 * *" |
chnyda | 850478d | 2017-09-26 10:44:02 +0200 | [diff] [blame] | 106 | - buildname: oc41 |
| 107 | os: ubuntu |
| 108 | dist: xenial |
| 109 | branch: R4.1 |
| 110 | ppa: mirantis-opencontrail/opencontrail-4.1 |
| 111 | upload_source_package: true |
| 112 | dpdk: contrail_dpdk_17_02 |
chnyda | 35c7bf2 | 2017-10-17 14:35:01 +0200 | [diff] [blame] | 113 | build_trigger: "H H(20-23) */7 * *" |
Jan Cach | ab4cb93 | 2018-05-11 16:22:48 +0200 | [diff] [blame] | 114 | - buildname: oc50 |
| 115 | os: ubuntu |
| 116 | dist: xenial |
| 117 | branch: R5.0 |
| 118 | ppa: mirantis-opencontrail/opencontrail-5.0 |
| 119 | upload_source_package: true |
| 120 | dpdk: contrail_dpdk_17_02 |
| 121 | build_trigger: "H H(20-23) */7 * *" |
chnyda | 52e4e9b | 2017-04-18 14:58:24 +0200 | [diff] [blame] | 122 | - buildname: oc666 |
| 123 | os: ubuntu |
| 124 | dist: trusty |
| 125 | branch: master |
| 126 | ppa: mirantis-opencontrail/opencontrail-master |
chnyda | fc30e31 | 2017-08-25 11:33:39 +0200 | [diff] [blame] | 127 | upload_source_package: true |
| 128 | dpdk: contrail_dpdk_17_02 |
chnyda | 35c7bf2 | 2017-10-17 14:35:01 +0200 | [diff] [blame] | 129 | build_trigger: "H H(20-23) */7 * *" |
chnyda | 52e4e9b | 2017-04-18 14:58:24 +0200 | [diff] [blame] | 130 | - buildname: oc666 |
| 131 | os: ubuntu |
| 132 | dist: xenial |
| 133 | branch: master |
| 134 | ppa: mirantis-opencontrail/opencontrail-master |
chnyda | fc30e31 | 2017-08-25 11:33:39 +0200 | [diff] [blame] | 135 | upload_source_package: true |
| 136 | dpdk: contrail_dpdk_17_02 |
chnyda | 35c7bf2 | 2017-10-17 14:35:01 +0200 | [diff] [blame] | 137 | build_trigger: "H H(20-23) */7 * *" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 138 | template: |
| 139 | discard: |
| 140 | build: |
| 141 | keep_num: 5 |
| 142 | artifact: |
Alexander Evseev | 4eaf9fc | 2018-08-07 16:36:30 +0200 | [diff] [blame] | 143 | keep_num: 2 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 144 | type: workflow-scm |
chnyda | f67ca43 | 2017-04-07 15:47:23 +0200 | [diff] [blame] | 145 | concurrent: true |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 146 | quiet_period: 120 |
| 147 | scm: |
| 148 | type: git |
| 149 | url: "${_param:jenkins_contrail_pipeline}" |
| 150 | credentials: "gerrit" |
| 151 | github: |
| 152 | url: https://github.com/Mirantis/ccp-contrail-pipeline |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 153 | param: |
| 154 | APTLY_URL: |
| 155 | type: string |
| 156 | default: "${_param:jenkins_aptly_api_url}" |
| 157 | APTLY_REPO: |
| 158 | type: string |
| 159 | default: "{{os}}-{{dist}}-{{buildname}}" |
| 160 | SOURCE_URL: |
| 161 | type: string |
| 162 | default: "${_param:jenkins_gerrit_url}/contrail" |
| 163 | SOURCE_BRANCH: |
| 164 | type: string |
| 165 | default: "{{branch}}" |
| 166 | SOURCE_CREDENTIALS: |
| 167 | type: string |
| 168 | default: "gerrit" |
| 169 | KEEP_REPOS: |
| 170 | type: boolean |
| 171 | default: 'false' |
| 172 | description: "Don't cleanup on failure" |
chnyda | 063bf3d | 2017-07-20 10:57:56 +0200 | [diff] [blame] | 173 | DPDK_BRANCH: |
| 174 | type: string |
| 175 | default: "{{dpdk}}" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 176 | OS: |
| 177 | type: string |
| 178 | default: "{{os}}" |
| 179 | DIST: |
| 180 | type: string |
| 181 | default: "{{dist}}" |
| 182 | ARCH: |
| 183 | type: string |
| 184 | default: "amd64" |
| 185 | PPA: |
| 186 | type: string |
| 187 | default: "{{ppa}}" |
| 188 | UPLOAD_SOURCE_PACKAGE: |
| 189 | type: boolean |
| 190 | default: '{{upload_source_package}}' |
chnyda | fc990de | 2017-04-06 11:35:17 +0200 | [diff] [blame] | 191 | trigger: |
chnyda | 3ab8f8d | 2017-08-23 14:04:00 +0200 | [diff] [blame] | 192 | pollscm: |
| 193 | spec: "{{build_trigger}}" |
chnyda | fc990de | 2017-04-06 11:35:17 +0200 | [diff] [blame] | 194 | gerrit: |
| 195 | project: |
chnyda | 41bd315 | 2017-04-11 16:55:29 +0200 | [diff] [blame] | 196 | contrail/contrail-pipeline: |
| 197 | branches: |
| 198 | - "{{branch}}" |
| 199 | contrail/contrail-build: |
| 200 | branches: |
| 201 | - "{{branch}}" |
| 202 | contrail/contrail-controller: |
| 203 | branches: |
| 204 | - "{{branch}}" |
| 205 | contrail/contrail-vrouter: |
| 206 | branches: |
| 207 | - "{{branch}}" |
| 208 | contrail/contrail-third-party: |
| 209 | branches: |
| 210 | - "{{branch}}" |
| 211 | contrail/contrail-generateDS: |
| 212 | branches: |
| 213 | - "{{branch}}" |
| 214 | contrail/contrail-sandesh: |
| 215 | branches: |
| 216 | - "{{branch}}" |
| 217 | contrail/contrail-packages: |
| 218 | branches: |
| 219 | - "{{branch}}" |
| 220 | contrail/contrail-nova-vif-driver: |
| 221 | branches: |
| 222 | - "{{branch}}" |
| 223 | contrail/contrail-neutron-plugin: |
| 224 | branches: |
| 225 | - "{{branch}}" |
| 226 | contrail/contrail-nova-extensions: |
| 227 | branches: |
| 228 | - "{{branch}}" |
| 229 | contrail/contrail-heat: |
| 230 | branches: |
| 231 | - "{{branch}}" |
| 232 | contrail/contrail-web-storage: |
| 233 | branches: |
| 234 | - "{{branch}}" |
| 235 | contrail/contrail-web-server-manager: |
| 236 | branches: |
| 237 | - "{{branch}}" |
| 238 | contrail/contrail-web-controller: |
| 239 | branches: |
| 240 | - "{{branch}}" |
| 241 | contrail/contrail-web-core: |
| 242 | branches: |
| 243 | - "{{branch}}" |
| 244 | contrail/contrail-webui-third-party: |
| 245 | branches: |
| 246 | - "{{branch}}" |
chnyda | fc990de | 2017-04-06 11:35:17 +0200 | [diff] [blame] | 247 | event: |
| 248 | comment: |
| 249 | - addedContains: |
| 250 | commentAddedCommentContains: '(buildpackage)' |