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_pollscm_spec: "H/60 * * * *" |
| 4 | jenkins_contrail_pipeline: "${_param:jenkins_gerrit_url}/contrail/contrail-pipeline" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 5 | jenkins: |
| 6 | client: |
| 7 | job_template: |
| 8 | git-mirror-upstream: |
| 9 | name: git-mirror-upstream-{{name}} |
| 10 | jobs: |
| 11 | - name: contrail-build |
| 12 | branches: ${_param:contrail_branches} |
| 13 | - name: contrail-controller |
| 14 | branches: ${_param:contrail_branches} |
| 15 | - name: contrail-vrouter |
| 16 | branches: ${_param:contrail_branches} |
| 17 | - name: contrail-third-party |
| 18 | branches: ${_param:contrail_branches} |
| 19 | - name: contrail-generateDS |
| 20 | branches: ${_param:contrail_branches} |
| 21 | - name: contrail-sandesh |
| 22 | branches: ${_param:contrail_branches} |
| 23 | - name: contrail-packages |
| 24 | branches: ${_param:contrail_branches} |
| 25 | - name: contrail-nova-vif-driver |
| 26 | branches: ${_param:contrail_branches} |
| 27 | - name: contrail-neutron-plugin |
| 28 | branches: ${_param:contrail_branches} |
| 29 | - name: contrail-nova-extensions |
| 30 | branches: ${_param:contrail_branches} |
| 31 | - name: contrail-ceilometer-plugin |
| 32 | branches: ${_param:contrail_ceilometer_plugin_branches} |
| 33 | - name: contrail-heat |
| 34 | branches: ${_param:contrail_branches} |
| 35 | - name: contrail-web-storage |
| 36 | branches: ${_param:contrail_branches} |
| 37 | - name: contrail-web-server-manager |
| 38 | branches: ${_param:contrail_branches} |
| 39 | - name: contrail-web-controller |
| 40 | branches: ${_param:contrail_branches} |
| 41 | - name: contrail-web-core |
| 42 | branches: ${_param:contrail_branches} |
| 43 | - name: contrail-webui-third-party |
| 44 | branches: ${_param:contrail_branches} |
| 45 | - name: contrail-dpdk-extra-packages |
| 46 | branches: ${_param:contrail_dpdk_extra_branches} |
chnyda | cb9ca9a | 2017-04-26 15:55:19 +0200 | [diff] [blame] | 47 | - name: contrail-dpdk |
| 48 | branches: ${_param:contrail_dpdk_branches} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 49 | template: |
| 50 | discard: |
| 51 | build: |
| 52 | keep_num: 10 |
| 53 | artifact: |
| 54 | keep_num: 10 |
| 55 | type: workflow-scm |
| 56 | concurrent: false |
| 57 | scm: |
| 58 | type: git |
| 59 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 60 | branch: "${_param:jenkins_pipelines_branch}" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 61 | credentials: "gerrit" |
| 62 | script: git-mirror-pipeline.groovy |
| 63 | github: |
| 64 | url: "https://github.com/Mirantis/{{name}}" |
| 65 | trigger: |
chnyda | bbef7e3 | 2017-08-15 10:04:48 +0200 | [diff] [blame] | 66 | gerrit: |
| 67 | project: |
| 68 | contrail/{{name}}: |
| 69 | branches: |
chnyda | 9b85a38 | 2017-08-16 10:46:41 +0200 | [diff] [blame] | 70 | - compare_type: "REG_EXP" |
chnyda | c5df34a | 2017-08-17 16:30:27 +0200 | [diff] [blame] | 71 | name: ".*" |
chnyda | bbef7e3 | 2017-08-15 10:04:48 +0200 | [diff] [blame] | 72 | message: |
| 73 | build_successful: "Build successful" |
| 74 | build_unstable: "Build unstable" |
| 75 | build_failure: "Build failed" |
| 76 | event: |
| 77 | ref: |
| 78 | - updated |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 79 | param: |
| 80 | SOURCE_URL: |
| 81 | type: string |
| 82 | default: "${_param:jenkins_gerrit_url}/contrail/{{name}}.git" |
| 83 | TARGET_URL: |
| 84 | type: string |
| 85 | default: "git@github.com:Mirantis/{{name}}.git" |
| 86 | CREDENTIALS_ID: |
| 87 | type: string |
| 88 | default: "gerrit" |
| 89 | BRANCHES: |
| 90 | type: string |
| 91 | default: "{{branches}}" |
| 92 | job: |
| 93 | git-mirror-upstream-ifmap-python-client: |
| 94 | discard: |
| 95 | build: |
| 96 | keep_num: 10 |
| 97 | artifact: |
| 98 | keep_num: 10 |
| 99 | type: workflow-scm |
| 100 | concurrent: false |
| 101 | scm: |
| 102 | type: git |
| 103 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 104 | branch: "${_param:jenkins_pipelines_branch}" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 105 | credentials: "gerrit" |
| 106 | script: git-mirror-pipeline.groovy |
| 107 | github: |
| 108 | url: "https://github.com/tcpcloud/ifmap-python-client" |
| 109 | param: |
| 110 | SOURCE_URL: |
| 111 | type: string |
| 112 | default: "${_param:jenkins_gerrit_url}/contrail/ifmap-python-client.git" |
| 113 | TARGET_URL: |
| 114 | type: string |
| 115 | default: "git@github.com:Mirantis/ifmap-python-client.git" |
| 116 | CREDENTIALS_ID: |
| 117 | type: string |
| 118 | default: "gerrit" |
| 119 | BRANCHES: |
| 120 | type: string |
| 121 | default: "master" |
| 122 | # XXX: this one ccp- prefixed is kind-of obsolete and should be |
| 123 | # removed |
| 124 | git-mirror-upstream-ccp-contrail-pipeline: |
| 125 | discard: |
| 126 | build: |
| 127 | keep_num: 10 |
| 128 | artifact: |
| 129 | keep_num: 10 |
| 130 | type: workflow-scm |
| 131 | concurrent: false |
| 132 | scm: |
| 133 | type: git |
| 134 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 135 | branch: "${_param:jenkins_pipelines_branch}" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 136 | credentials: "gerrit" |
| 137 | script: git-mirror-pipeline.groovy |
| 138 | github: |
| 139 | url: https://github.com/Mirantis/ccp-contrail-pipeline |
| 140 | trigger: |
| 141 | gerrit: |
| 142 | project: |
| 143 | contrail/contrail-pipeline: |
| 144 | branches: |
| 145 | - master |
| 146 | message: |
| 147 | build_successful: "Build successful" |
| 148 | build_unstable: "Build unstable" |
| 149 | build_failure: "Build failed" |
| 150 | event: |
| 151 | ref: |
| 152 | - updated |
| 153 | param: |
| 154 | SOURCE_URL: |
| 155 | type: string |
| 156 | default: "${_param:jenkins_contrail_pipeline}" |
| 157 | TARGET_URL: |
| 158 | type: string |
| 159 | default: "git@github.com:Mirantis/ccp-contrail-pipeline.git" |
| 160 | CREDENTIALS_ID: |
| 161 | type: string |
| 162 | default: "gerrit" |
| 163 | BRANCHES: |
| 164 | type: string |
| 165 | default: master |
| 166 | git-mirror-upstream-contrail-pipeline: |
| 167 | discard: |
| 168 | build: |
| 169 | keep_num: 10 |
| 170 | artifact: |
| 171 | keep_num: 10 |
| 172 | type: workflow-scm |
| 173 | concurrent: false |
| 174 | scm: |
| 175 | type: git |
| 176 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 177 | branch: "${_param:jenkins_pipelines_branch}" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 178 | credentials: "gerrit" |
| 179 | script: git-mirror-pipeline.groovy |
| 180 | github: |
| 181 | url: https://github.com/Mirantis/contrail-pipeline |
| 182 | trigger: |
| 183 | gerrit: |
| 184 | project: |
| 185 | contrail/contrail-pipeline: |
| 186 | branches: |
| 187 | - master |
| 188 | message: |
| 189 | build_successful: "Build successful" |
| 190 | build_unstable: "Build unstable" |
| 191 | build_failure: "Build failed" |
| 192 | event: |
| 193 | ref: |
| 194 | - updated |
| 195 | param: |
| 196 | SOURCE_URL: |
| 197 | type: string |
| 198 | default: "${_param:jenkins_contrail_pipeline}" |
| 199 | TARGET_URL: |
| 200 | type: string |
| 201 | default: "git@github.com:Mirantis/contrail-pipeline.git" |
| 202 | CREDENTIALS_ID: |
| 203 | type: string |
| 204 | default: "gerrit" |
| 205 | BRANCHES: |
| 206 | type: string |
| 207 | default: master |