vrovachev | 54ac29a | 2017-10-25 16:01:01 +0400 | [diff] [blame] | 1 | parameters: |
azvyagintsev | 16ca7ce | 2018-08-21 17:20:33 +0300 | [diff] [blame] | 2 | _param: |
| 3 | mcp_docker_registry: 'docker-dev-local.docker.mirantis.net' |
vrovachev | 54ac29a | 2017-10-25 16:01:01 +0400 | [diff] [blame] | 4 | jenkins: |
| 5 | client: |
| 6 | job: |
| 7 | mcp_k8s_merge_pipeline: |
| 8 | type: workflow-scm |
| 9 | name: mcp-k8s-merge-pipeline |
| 10 | display_name: "Kubernetes merge pipeline" |
| 11 | discard: |
| 12 | build: |
| 13 | keep_num: 20 |
| 14 | concurrent: false |
| 15 | scm: |
| 16 | type: git |
| 17 | url: "${_param:jenkins_gerrit_url}/kubernetes-ci/kubernetes-pipelines" |
| 18 | credentials: "gerrit" |
| 19 | script: pipelines/mcp-k8s-test-pipeline.groovy |
| 20 | trigger: |
| 21 | gerrit: |
| 22 | project: |
| 23 | kubernetes/kubernetes: |
| 24 | branches: |
| 25 | - compare_type: "ANT" |
| 26 | name: "**mcp**" |
| 27 | message: |
| 28 | build_successful: "Build successful" |
| 29 | build_unstable: "Build unstable" |
| 30 | build_failure: "Build failed" |
| 31 | event: |
| 32 | change: |
| 33 | - merged |
| 34 | param: |
| 35 | KUBE_DOCKER_REGISTRY: |
| 36 | type: string |
azvyagintsev | 16ca7ce | 2018-08-21 17:20:33 +0300 | [diff] [blame] | 37 | default: ${_param:mcp_docker_registry} |
vrovachev | 54ac29a | 2017-10-25 16:01:01 +0400 | [diff] [blame] | 38 | description: 'Docker registry for binaries and images' |