vrovachev | cfe2649 | 2017-09-01 20:40:42 +0400 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job: |
| 5 | mcp_k8s_test_pipeline: |
| 6 | type: workflow-scm |
| 7 | name: mcp-k8s-test-pipeline |
| 8 | display_name: "Kubernetes tests pipeline" |
| 9 | discard: |
| 10 | build: |
Jakub Josef | 1a82896 | 2018-01-23 12:33:34 +0100 | [diff] [blame] | 11 | keep_num: 50 |
vrovachev | cfe2649 | 2017-09-01 20:40:42 +0400 | [diff] [blame] | 12 | concurrent: false |
| 13 | scm: |
| 14 | type: git |
| 15 | url: "${_param:jenkins_gerrit_url}/kubernetes-ci/kubernetes-pipelines" |
| 16 | credentials: "gerrit" |
| 17 | script: pipelines/mcp-k8s-test-pipeline.groovy |
vrovachev | 8749158 | 2017-10-20 17:52:26 +0400 | [diff] [blame] | 18 | trigger: |
| 19 | gerrit: |
| 20 | project: |
| 21 | kubernetes/kubernetes: |
| 22 | branches: |
| 23 | - compare_type: "ANT" |
| 24 | name: "**" |
| 25 | message: |
| 26 | build_successful: "Build successful" |
| 27 | build_unstable: "Build unstable" |
| 28 | build_failure: "Build failed" |
| 29 | event: |
| 30 | patchset: |
| 31 | - created: |
| 32 | excludeDrafts: false |
| 33 | excludeTrivialRebase: false |
| 34 | excludeNoCodeChange: false |
| 35 | comment: |
| 36 | - addedContains: |
| 37 | commentAddedCommentContains: '(recheck|reverify)' |
vrovachev | 54fc648 | 2017-10-27 16:34:01 +0400 | [diff] [blame] | 38 | override-votes: |
| 39 | gerritBuildUnstableVerifiedValue: 1 |
| 40 | gerritBuildUnstableCodeReviewValue: 1 |
vrovachev | cfe2649 | 2017-09-01 20:40:42 +0400 | [diff] [blame] | 41 | param: |
| 42 | KUBE_DOCKER_REGISTRY: |
| 43 | type: string |
vrovachev | 54ac29a | 2017-10-25 16:01:01 +0400 | [diff] [blame] | 44 | default: 'docker-dev-local.docker.mirantis.net' |
vrovachev | cfe2649 | 2017-09-01 20:40:42 +0400 | [diff] [blame] | 45 | description: 'Docker registry for binaries and images' |
| 46 | CALICO_DOCKER_REGISTRY: |
| 47 | type: string |
| 48 | default: 'docker-prod-virtual.docker.mirantis.net' |
| 49 | description: 'Docker registry for published Calico images' |
| 50 | K8S_BASE_IMAGE: |
| 51 | type: string |
vrovachev | 54ac29a | 2017-10-25 16:01:01 +0400 | [diff] [blame] | 52 | default: 'mirantis/base-images/debian-base:20161223134732' |
vrovachev | cfe2649 | 2017-09-01 20:40:42 +0400 | [diff] [blame] | 53 | description: 'Base Docker image to build k8s' |
vrovachev | cfe2649 | 2017-09-01 20:40:42 +0400 | [diff] [blame] | 54 | CALICO_CNI_IMAGE_REPO: |
| 55 | type: string |
| 56 | default: 'calico/cni' |
| 57 | description: 'Custom calico/cni image repository' |
| 58 | CALICO_CNI_IMAGE_TAG: |
| 59 | type: string |
| 60 | default: 'v1.5.1' |
| 61 | description: 'Custom calico/cni image tag' |
| 62 | CALICO_DOWNSTREAM: |
| 63 | type: boolean |
| 64 | default: 'true' |
| 65 | description: 'Use Calico downstream' |
| 66 | CALICO_VER: |
| 67 | type: string |
| 68 | default: 'mcp' |
| 69 | description: 'Custom Calico version' |