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 |
| 16 | - buildname: oc31 |
| 17 | os: ubuntu |
| 18 | dist: trusty |
| 19 | branch: R3.1 |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 20 | ppa: mirantis-opencontrail/opencontrail-3.1 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 21 | upload_source_package: true |
| 22 | - buildname: oc31 |
| 23 | os: ubuntu |
| 24 | dist: xenial |
| 25 | branch: R3.1 |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 26 | ppa: mirantis-opencontrail/opencontrail-3.1 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 27 | upload_source_package: true |
| 28 | - buildname: oc311 |
| 29 | os: ubuntu |
| 30 | dist: trusty |
| 31 | branch: R3.1.1.x |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 32 | ppa: mirantis-opencontrail/opencontrail-3.1.1 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 33 | upload_source_package: true |
| 34 | - buildname: oc311 |
| 35 | os: ubuntu |
| 36 | dist: xenial |
| 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 |
| 40 | - buildname: oc32 |
| 41 | os: ubuntu |
| 42 | dist: trusty |
| 43 | branch: R3.2 |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 44 | ppa: mirantis-opencontrail/opencontrail-3.2 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 45 | upload_source_package: true |
| 46 | - buildname: oc32 |
| 47 | os: ubuntu |
| 48 | dist: xenial |
| 49 | branch: R3.2 |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 50 | ppa: mirantis-opencontrail/opencontrail-3.2 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 51 | upload_source_package: true |
| 52 | template: |
| 53 | discard: |
| 54 | build: |
| 55 | keep_num: 5 |
| 56 | artifact: |
| 57 | keep_num: 5 |
| 58 | type: workflow-scm |
chnyda | f67ca43 | 2017-04-07 15:47:23 +0200 | [diff] [blame^] | 59 | concurrent: true |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 60 | quiet_period: 120 |
| 61 | scm: |
| 62 | type: git |
| 63 | url: "${_param:jenkins_contrail_pipeline}" |
| 64 | credentials: "gerrit" |
| 65 | github: |
| 66 | url: https://github.com/Mirantis/ccp-contrail-pipeline |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 67 | param: |
| 68 | APTLY_URL: |
| 69 | type: string |
| 70 | default: "${_param:jenkins_aptly_api_url}" |
| 71 | APTLY_REPO: |
| 72 | type: string |
| 73 | default: "{{os}}-{{dist}}-{{buildname}}" |
| 74 | SOURCE_URL: |
| 75 | type: string |
| 76 | default: "${_param:jenkins_gerrit_url}/contrail" |
| 77 | SOURCE_BRANCH: |
| 78 | type: string |
| 79 | default: "{{branch}}" |
| 80 | SOURCE_CREDENTIALS: |
| 81 | type: string |
| 82 | default: "gerrit" |
| 83 | KEEP_REPOS: |
| 84 | type: boolean |
| 85 | default: 'false' |
| 86 | description: "Don't cleanup on failure" |
chnyda | dbef8ed | 2017-04-04 13:40:42 +0200 | [diff] [blame] | 87 | DEBUG_DPDK: |
| 88 | type: boolean |
| 89 | default: 'false' |
| 90 | description: "CONFIG_RTE_LIBRTE_ETHDEV_DEBUG enabled or disabled" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 91 | OS: |
| 92 | type: string |
| 93 | default: "{{os}}" |
| 94 | DIST: |
| 95 | type: string |
| 96 | default: "{{dist}}" |
| 97 | ARCH: |
| 98 | type: string |
| 99 | default: "amd64" |
| 100 | PPA: |
| 101 | type: string |
| 102 | default: "{{ppa}}" |
| 103 | UPLOAD_SOURCE_PACKAGE: |
| 104 | type: boolean |
| 105 | default: '{{upload_source_package}}' |
chnyda | fc990de | 2017-04-06 11:35:17 +0200 | [diff] [blame] | 106 | trigger: |
| 107 | gerrit: |
| 108 | project: |
| 109 | contrail/contrail-controller: |
| 110 | branches: |
| 111 | - "{{branch}}" |
| 112 | contrail/contrail-vrouter: |
| 113 | branches: |
| 114 | - "{{branch}}" |
| 115 | contrail/contrail-packages: |
| 116 | branches: |
| 117 | - "{{branch}}" |
| 118 | contrail/contrail-vrouter: |
| 119 | branches: |
| 120 | - "{{branch}}" |
| 121 | contrail/contrail-web-core: |
| 122 | branches: |
| 123 | - "{{branch}}" |
| 124 | contrail/contrail-web-controller: |
| 125 | branches: |
| 126 | - "{{branch}}" |
| 127 | contrail/contrail-third-party: |
| 128 | branches: |
| 129 | - "{{branch}}" |
| 130 | event: |
| 131 | comment: |
| 132 | - addedContains: |
| 133 | commentAddedCommentContains: '(buildpackage)' |