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