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