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