blob: ad66033065b061153f9dfb207c55d881db9e8183 [file] [log] [blame]
Sergey Kolekonovd6d8e822018-09-21 16:53:21 +04001parameters:
Sergey Kolekonovd6d8e822018-09-21 16:53:21 +04002 jenkins:
3 client:
4 job_template:
5 mcp-k8s-generic-merge-pipeline:
6 name: mcp-k8s-{{name}}-merge-pipeline
7 jobs:
8 - name: coredns
9 display_name: "CoreDNS merge pipeline"
10 pipeline: mcp-k8s-coredns-pipeline.groovy
11 repo: kubernetes/coredns
12 - name: dashboard
13 display_name: "Kubernetes dashboard merge pipeline"
14 pipeline: mcp-k8s-dashboard-pipeline.groovy
15 repo: kubernetes/dashboard
16 - name: external-dns
17 display_name: "External DNS merge pipeline"
18 pipeline: mcp-k8s-ext-dns-pipeline.groovy
19 repo: kubernetes/external-dns
20 - name: metallb
21 display_name: "Metal LB merge pipeline"
22 pipeline: mcp-k8s-metallb-pipeline.groovy
23 repo: kubernetes/metallb
24 - name: nginx-ingress
25 display_name: "NGINX ingress merge pipeline"
26 pipeline: mcp-k8s-ingress-nginx-pipeline.groovy
27 repo: kubernetes/ingress-nginx
28 template:
29 type: workflow-scm
30 display_name: "{{display_name}}"
31 discard:
32 build:
33 keep_num: 20
34 concurrent: false
35 scm:
36 type: git
37 url: "${_param:jenkins_gerrit_url}/kubernetes-ci/kubernetes-pipelines"
38 credentials: "gerrit"
39 script: "pipelines/{{pipeline}}"
40 trigger:
41 gerrit:
42 project:
43 "{{repo}}":
44 branches:
45 - compare_type: "ANT"
46 name: "**mcp**"
47 message:
48 build_successful: "Build successful"
49 build_unstable: "Build unstable"
50 build_failure: "Build failed"
51 event:
52 change:
53 - merged
54 param:
55 KUBE_DOCKER_REGISTRY:
56 type: string
azvyagintsevdf78ff12018-10-17 12:22:08 +030057 default: docker-dev-local.docker.mirantis.net
Sergey Kolekonovd6d8e822018-09-21 16:53:21 +040058 description: 'Docker registry for binaries and images'
59 KUBE_PROD_DOCKER_REGISTRY:
60 type: string
azvyagintsevdf78ff12018-10-17 12:22:08 +030061 default: ${_param:mcp_docker_registry}
Sergey Kolekonovd6d8e822018-09-21 16:53:21 +040062 description: 'Prod docker registry for binaries and images'