vrovachev | cfe2649 | 2017-09-01 20:40:42 +0400 | [diff] [blame] | 1 | parameters: |
azvyagintsev | 16ca7ce | 2018-08-21 17:20:33 +0300 | [diff] [blame] | 2 | _param: |
| 3 | mcp_docker_registry: 'docker-dev-local.docker.mirantis.net' |
vrovachev | cfe2649 | 2017-09-01 20:40:42 +0400 | [diff] [blame] | 4 | 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 Josef | 1a82896 | 2018-01-23 12:33:34 +0100 | [diff] [blame] | 13 | keep_num: 50 |
Victor Ryzhenkin | 55bdc83 | 2018-05-08 16:03:38 +0400 | [diff] [blame] | 14 | concurrent: true |
vrovachev | cfe2649 | 2017-09-01 20:40:42 +0400 | [diff] [blame] | 15 | 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 |
vrovachev | 8749158 | 2017-10-20 17:52:26 +0400 | [diff] [blame] | 20 | 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)' |
vrovachev | 54fc648 | 2017-10-27 16:34:01 +0400 | [diff] [blame] | 40 | override-votes: |
| 41 | gerritBuildUnstableVerifiedValue: 1 |
| 42 | gerritBuildUnstableCodeReviewValue: 1 |
vrovachev | cfe2649 | 2017-09-01 20:40:42 +0400 | [diff] [blame] | 43 | param: |
| 44 | KUBE_DOCKER_REGISTRY: |
| 45 | type: string |
azvyagintsev | 16ca7ce | 2018-08-21 17:20:33 +0300 | [diff] [blame] | 46 | default: ${_param:mcp_docker_registry} |
vrovachev | cfe2649 | 2017-09-01 20:40:42 +0400 | [diff] [blame] | 47 | 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 |
vrovachev | 54ac29a | 2017-10-25 16:01:01 +0400 | [diff] [blame] | 54 | default: 'mirantis/base-images/debian-base:20161223134732' |
vrovachev | cfe2649 | 2017-09-01 20:40:42 +0400 | [diff] [blame] | 55 | description: 'Base Docker image to build k8s' |
vrovachev | cfe2649 | 2017-09-01 20:40:42 +0400 | [diff] [blame] | 56 | 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' |