Ales Komarek | 6edbc45 | 2017-08-10 10:02:24 +0200 | [diff] [blame] | 1 | parameters: |
azvyagintsev | 16ca7ce | 2018-08-21 17:20:33 +0300 | [diff] [blame] | 2 | _param: |
| 3 | mcp_docker_registry: 'docker-prod-local.artifactory.mirantis.com' |
Ales Komarek | 6edbc45 | 2017-08-10 10:02:24 +0200 | [diff] [blame] | 4 | jenkins: |
| 5 | client: |
| 6 | job: |
| 7 | test_service_job: |
| 8 | name: deploy-test-service |
| 9 | type: workflow-scm |
| 10 | discard: |
| 11 | build: |
Jakub Josef | 1a82896 | 2018-01-23 12:33:34 +0100 | [diff] [blame] | 12 | keep_num: 50 |
Ales Komarek | 6edbc45 | 2017-08-10 10:02:24 +0200 | [diff] [blame] | 13 | concurrent: true |
| 14 | display_name: "Deploy - Test services in environment" |
| 15 | scm: |
| 16 | type: git |
| 17 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 18 | branch: "${_param:jenkins_pipelines_branch}" |
Ales Komarek | 6edbc45 | 2017-08-10 10:02:24 +0200 | [diff] [blame] | 19 | credentials: "gerrit" |
| 20 | script: test-service.groovy |
| 21 | param: |
| 22 | |
| 23 | # salt |
| 24 | SALT_MASTER_CREDENTIALS: |
| 25 | type: string |
| 26 | default: "salt-qa-credentials" |
| 27 | SALT_MASTER_URL: |
| 28 | type: string |
| 29 | default: "" |
| 30 | |
| 31 | # test |
| 32 | TEST_K8S_API_SERVER: |
| 33 | type: string |
| 34 | default: "http://127.0.0.1:8080" |
| 35 | TEST_K8S_CONFORMANCE_IMAGE: |
| 36 | type: string |
vrovachev | 7e70980 | 2017-09-15 20:04:26 +0400 | [diff] [blame] | 37 | default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.7.5-2_1504192939316" |
Ales Komarek | 6edbc45 | 2017-08-10 10:02:24 +0200 | [diff] [blame] | 38 | |
| 39 | TEST_TEMPEST_IMAGE: |
| 40 | type: string |
| 41 | description: "Tempest docker image" |
azvyagintsev | 16ca7ce | 2018-08-21 17:20:33 +0300 | [diff] [blame] | 42 | default: "${_param:mcp_docker_registry}/mirantis/oscore/rally-tempest" |
Ales Komarek | 6edbc45 | 2017-08-10 10:02:24 +0200 | [diff] [blame] | 43 | TEST_TEMPEST_TARGET: |
| 44 | type: string |
Jakub Pavlik | ef17f3d | 2017-08-11 14:39:34 +0200 | [diff] [blame] | 45 | description: "Node to run tests. use FQDN for ctl01 e.g. ctl01.deploy-heat-os_ha_contrail-17.bud-mk.local" |
Ales Komarek | 6edbc45 | 2017-08-10 10:02:24 +0200 | [diff] [blame] | 46 | default: "" |
| 47 | TEST_DOCKER_INSTALL: |
| 48 | type: boolean |
| 49 | description: "Install docker on the target if true" |
| 50 | default: "true" |
| 51 | TEST_TEMPEST_PATTERN: |
| 52 | type: string |
Jakub Pavlik | ef17f3d | 2017-08-11 14:39:34 +0200 | [diff] [blame] | 53 | description: "Run tests matched to pattern only e.g. tempest.api.identity" |
| 54 | default: "false" |
| 55 | TEST_SERVICE: |
| 56 | type: string |
| 57 | description: "openstack or k8s" |
| 58 | default: "openstack" |
| 59 | TEST_JUNIT_RATIO: |
| 60 | type: string |
| 61 | description: "The amplification factor to apply to test failures when computing the test result contribution to the build health score." |
| 62 | default: "1.0" |