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 | cfe2649 | 2017-09-01 20:40:42 +0400 | [diff] [blame] | 38 | param: |
| 39 | KUBE_DOCKER_REGISTRY: |
| 40 | type: string |
| 41 | default: 'docker-dev-virtual.docker.mirantis.net' |
| 42 | description: 'Docker registry for binaries and images' |
| 43 | CALICO_DOCKER_REGISTRY: |
| 44 | type: string |
| 45 | default: 'docker-prod-virtual.docker.mirantis.net' |
| 46 | description: 'Docker registry for published Calico images' |
| 47 | K8S_BASE_IMAGE: |
| 48 | type: string |
| 49 | default: '{docker-prod-virtual}/mirantis/base-images/debian-base:20161223134732' |
| 50 | description: 'Base Docker image to build k8s' |
| 51 | DOCKER_IMAGE_UNIT: |
| 52 | type: string |
| 53 | default: '{docker-prod-virtual}/mirantis/k8s-tests-images/k8s-tests-unit:latest' |
| 54 | desription: 'Docker image for k8s unit tests' |
| 55 | DOCKER_IMAGE_INTEGRATION: |
| 56 | type: string |
| 57 | default: '{docker-prod-virtual}/mirantis/k8s-tests-images/k8s-tests-integration:latest' |
| 58 | desription: 'Docker image for k8s integration tests' |
| 59 | CALICO_CNI_IMAGE_REPO: |
| 60 | type: string |
| 61 | default: 'calico/cni' |
| 62 | description: 'Custom calico/cni image repository' |
| 63 | CALICO_CNI_IMAGE_TAG: |
| 64 | type: string |
| 65 | default: 'v1.5.1' |
| 66 | description: 'Custom calico/cni image tag' |
| 67 | CALICO_DOWNSTREAM: |
| 68 | type: boolean |
| 69 | default: 'true' |
| 70 | description: 'Use Calico downstream' |
| 71 | CALICO_VER: |
| 72 | type: string |
| 73 | default: 'mcp' |
| 74 | description: 'Custom Calico version' |