blob: 99a388476e14e4359404b49681c2e67995bed5a7 [file] [log] [blame]
vrovachevcfe26492017-09-01 20:40:42 +04001parameters:
azvyagintsev16ca7ce2018-08-21 17:20:33 +03002 _param:
3 mcp_docker_registry: 'docker-dev-local.docker.mirantis.net'
vrovachevcfe26492017-09-01 20:40:42 +04004 jenkins:
5 client:
6 job:
7 mcp_k8s_test_pipeline:
8 type: workflow-scm
9 name: mcp-k8s-test-pipeline
10 display_name: "Kubernetes tests pipeline"
11 discard:
12 build:
Jakub Josef1a828962018-01-23 12:33:34 +010013 keep_num: 50
Victor Ryzhenkin55bdc832018-05-08 16:03:38 +040014 concurrent: true
vrovachevcfe26492017-09-01 20:40:42 +040015 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
vrovachev87491582017-10-20 17:52:26 +040020 trigger:
21 gerrit:
22 project:
23 kubernetes/kubernetes:
24 branches:
25 - compare_type: "ANT"
26 name: "**"
27 message:
28 build_successful: "Build successful"
29 build_unstable: "Build unstable"
30 build_failure: "Build failed"
31 event:
32 patchset:
33 - created:
34 excludeDrafts: false
35 excludeTrivialRebase: false
36 excludeNoCodeChange: false
37 comment:
38 - addedContains:
39 commentAddedCommentContains: '(recheck|reverify)'
vrovachev54fc6482017-10-27 16:34:01 +040040 override-votes:
41 gerritBuildUnstableVerifiedValue: 1
42 gerritBuildUnstableCodeReviewValue: 1
vrovachevcfe26492017-09-01 20:40:42 +040043 param:
44 KUBE_DOCKER_REGISTRY:
45 type: string
azvyagintsev16ca7ce2018-08-21 17:20:33 +030046 default: ${_param:mcp_docker_registry}
vrovachevcfe26492017-09-01 20:40:42 +040047 description: 'Docker registry for binaries and images'
48 CALICO_DOCKER_REGISTRY:
49 type: string
50 default: 'docker-prod-virtual.docker.mirantis.net'
51 description: 'Docker registry for published Calico images'
52 K8S_BASE_IMAGE:
53 type: string
vrovachev54ac29a2017-10-25 16:01:01 +040054 default: 'mirantis/base-images/debian-base:20161223134732'
vrovachevcfe26492017-09-01 20:40:42 +040055 description: 'Base Docker image to build k8s'
vrovachevcfe26492017-09-01 20:40:42 +040056 CALICO_CNI_IMAGE_REPO:
57 type: string
58 default: 'calico/cni'
59 description: 'Custom calico/cni image repository'
60 CALICO_CNI_IMAGE_TAG:
61 type: string
62 default: 'v1.5.1'
63 description: 'Custom calico/cni image tag'
64 CALICO_DOWNSTREAM:
65 type: boolean
66 default: 'true'
67 description: 'Use Calico downstream'
68 CALICO_VER:
69 type: string
70 default: 'mcp'
71 description: 'Custom Calico version'