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: |
| 11 | keep_num: 20 |
| 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 | 54ac29a | 2017-10-25 16:01:01 +0400 | [diff] [blame^] | 38 | gerrit-build-unstable-verified-value: 1 |
vrovachev | cfe2649 | 2017-09-01 20:40:42 +0400 | [diff] [blame] | 39 | param: |
| 40 | KUBE_DOCKER_REGISTRY: |
| 41 | type: string |
vrovachev | 54ac29a | 2017-10-25 16:01:01 +0400 | [diff] [blame^] | 42 | default: 'docker-dev-local.docker.mirantis.net' |
vrovachev | cfe2649 | 2017-09-01 20:40:42 +0400 | [diff] [blame] | 43 | description: 'Docker registry for binaries and images' |
| 44 | CALICO_DOCKER_REGISTRY: |
| 45 | type: string |
| 46 | default: 'docker-prod-virtual.docker.mirantis.net' |
| 47 | description: 'Docker registry for published Calico images' |
| 48 | K8S_BASE_IMAGE: |
| 49 | type: string |
vrovachev | 54ac29a | 2017-10-25 16:01:01 +0400 | [diff] [blame^] | 50 | default: 'mirantis/base-images/debian-base:20161223134732' |
vrovachev | cfe2649 | 2017-09-01 20:40:42 +0400 | [diff] [blame] | 51 | description: 'Base Docker image to build k8s' |
vrovachev | cfe2649 | 2017-09-01 20:40:42 +0400 | [diff] [blame] | 52 | CALICO_CNI_IMAGE_REPO: |
| 53 | type: string |
| 54 | default: 'calico/cni' |
| 55 | description: 'Custom calico/cni image repository' |
| 56 | CALICO_CNI_IMAGE_TAG: |
| 57 | type: string |
| 58 | default: 'v1.5.1' |
| 59 | description: 'Custom calico/cni image tag' |
| 60 | CALICO_DOWNSTREAM: |
| 61 | type: boolean |
| 62 | default: 'true' |
| 63 | description: 'Use Calico downstream' |
| 64 | CALICO_VER: |
| 65 | type: string |
| 66 | default: 'mcp' |
| 67 | description: 'Custom Calico version' |