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