Sergey Kolekonov | d6d8e82 | 2018-09-21 16:53:21 +0400 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
| 3 | mcp_docker_registry: 'docker-dev-local.docker.mirantis.net' |
| 4 | jenkins: |
| 5 | client: |
| 6 | job_template: |
| 7 | mcp-k8s-generic-test-pipeline: |
| 8 | name: mcp-k8s-{{name}}-test-pipeline |
| 9 | jobs: |
| 10 | - name: coredns |
| 11 | display_name: "CoreDNS test pipeline" |
| 12 | pipeline: mcp-k8s-coredns-pipeline.groovy |
| 13 | repo: kubernetes/coredns |
| 14 | - name: dashboard |
| 15 | display_name: "Kubernetes dashboard test pipeline" |
| 16 | pipeline: mcp-k8s-dashboard-pipeline.groovy |
| 17 | repo: kubernetes/dashboard |
| 18 | - name: external-dns |
| 19 | display_name: "External DNS test pipeline" |
| 20 | pipeline: mcp-k8s-ext-dns-pipeline.groovy |
| 21 | repo: kubernetes/external-dns |
| 22 | - name: metallb |
| 23 | display_name: "Metal LB test pipeline" |
| 24 | pipeline: mcp-k8s-metallb-pipeline.groovy |
| 25 | repo: kubernetes/metallb |
| 26 | - name: nginx-ingress |
| 27 | display_name: "NGINX ingress test pipeline" |
| 28 | pipeline: mcp-k8s-ingress-nginx-pipeline.groovy |
| 29 | repo: kubernetes/ingress-nginx |
| 30 | template: |
| 31 | type: workflow-scm |
| 32 | display_name: "{{display_name}}" |
| 33 | discard: |
| 34 | build: |
| 35 | keep_num: 50 |
| 36 | concurrent: true |
| 37 | scm: |
| 38 | type: git |
| 39 | url: "${_param:jenkins_gerrit_url}/kubernetes-ci/kubernetes-pipelines" |
| 40 | credentials: "gerrit" |
| 41 | script: "pipelines/{{pipeline}}" |
| 42 | trigger: |
| 43 | gerrit: |
| 44 | project: |
| 45 | "{{repo}}": |
| 46 | branches: |
| 47 | - compare_type: "ANT" |
| 48 | name: "**" |
| 49 | message: |
| 50 | build_successful: "Build successful" |
| 51 | build_unstable: "Build unstable" |
| 52 | build_failure: "Build failed" |
| 53 | event: |
| 54 | patchset: |
| 55 | - created: |
| 56 | excludeDrafts: false |
| 57 | excludeTrivialRebase: false |
| 58 | excludeNoCodeChange: false |
| 59 | comment: |
| 60 | - addedContains: |
| 61 | commentAddedCommentContains: '(recheck|reverify)' |
| 62 | override-votes: |
| 63 | gerritBuildUnstableVerifiedValue: 1 |
| 64 | gerritBuildUnstableCodeReviewValue: 1 |
| 65 | param: |
| 66 | KUBE_DOCKER_REGISTRY: |
| 67 | type: string |
| 68 | default: ${_param:mcp_docker_registry} |
| 69 | description: 'Docker registry for binaries and images' |