Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 1 | parameters: |
Sam Stoelinga | 1539f3c | 2017-09-25 17:05:40 -0700 | [diff] [blame] | 2 | _param: |
| 3 | jenkins_salt_api_url: "http://${_param:salt_master_host}:6969" |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 4 | jenkins: |
| 5 | client: |
| 6 | view: |
| 7 | Validation: |
| 8 | enabled: true |
| 9 | type: ListView |
| 10 | include_regex: "validate.*" |
| 11 | job: |
| 12 | validate_openstack: |
| 13 | type: workflow-scm |
| 14 | name: validate-openstack |
| 15 | display_name: "Validate - Openstack" |
| 16 | discard: |
| 17 | build: |
| 18 | keep_num: 20 |
| 19 | artifact: |
| 20 | keep_num: 20 |
| 21 | concurrent: false |
| 22 | scm: |
| 23 | type: git |
| 24 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 25 | credentials: "gerrit" |
| 26 | script: validate-cloud.groovy |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 27 | param: |
| 28 | SALT_MASTER_URL: |
| 29 | type: string |
Sam Stoelinga | 1539f3c | 2017-09-25 17:05:40 -0700 | [diff] [blame] | 30 | default: "${_param:jenkins_salt_api_url}" |
| 31 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 32 | SALT_MASTER_CREDENTIALS: |
| 33 | type: string |
| 34 | default: "salt" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 35 | description: Credentials to the Salt API |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 36 | TEST_IMAGE: |
| 37 | type: string |
| 38 | default: "docker-prod-local.artifactory.mirantis.com/mirantis/oss/qa-tools" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 39 | description: Docker image to setup testing environment |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 40 | TARGET_NODE: |
| 41 | type: string |
| 42 | default: "" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 43 | description: Target node where this job will be executed from |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 44 | RUN_RALLY_TESTS: |
| 45 | type: boolean |
| 46 | default: 'true' |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 47 | description: If chosen then Rally tests will be executed |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 48 | RUN_TEMPEST_TESTS: |
| 49 | type: boolean |
| 50 | default: 'true' |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 51 | description: If chosen then Tempest tests will be executed |
Dmitrii Kabanov | 58bd85e | 2017-08-14 16:37:39 -0700 | [diff] [blame] | 52 | RUN_K8S_TESTS: |
| 53 | type: boolean |
| 54 | default: 'true' |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 55 | description: If chosen then K8S tests will be executed |
Dmitrii Kabanov | b908f30 | 2017-08-11 00:21:59 -0700 | [diff] [blame] | 56 | TEMPEST_TEST_SET: |
| 57 | type: choice |
| 58 | choices: |
| 59 | - smoke |
| 60 | - full |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 61 | description: Set of Tempest tests to run |
| 62 | TEST_K8S_NODE: |
| 63 | type: string |
| 64 | default: "" |
| 65 | description: Kubernetes node to run tests from |
Dmitrii Kabanov | 58bd85e | 2017-08-14 16:37:39 -0700 | [diff] [blame] | 66 | TEST_K8S_API_SERVER: |
| 67 | type: string |
| 68 | default: "http://127.0.0.1:8080" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 69 | description: API server parameter for K8S tests |
Dmitrii Kabanov | 58bd85e | 2017-08-14 16:37:39 -0700 | [diff] [blame] | 70 | TEST_K8S_CONFORMANCE_IMAGE: |
| 71 | type: string |
vrovachev | 7e70980 | 2017-09-15 20:04:26 +0400 | [diff] [blame] | 72 | default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.7.5-2_1504192939316" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 73 | description: Docker image to run K8S tests |
Dmitrii Kabanov | a2ff9b2 | 2017-08-30 15:47:20 -0700 | [diff] [blame] | 74 | RUN_SPT_TESTS: |
| 75 | type: boolean |
| 76 | default: 'true' |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 77 | description: If chosen then SPT tests will be executed |
Dmitrii Kabanov | a2ff9b2 | 2017-08-30 15:47:20 -0700 | [diff] [blame] | 78 | SPT_SSH_USER: |
| 79 | type: string |
| 80 | default: "root" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 81 | description: Username that is used to ssh between cluster nodes |
Dmitrii Kabanov | f984ed4 | 2017-09-29 10:32:35 -0700 | [diff] [blame] | 82 | FLOATING_NETWORK: |
Dmitrii Kabanov | a2ff9b2 | 2017-08-30 15:47:20 -0700 | [diff] [blame] | 83 | type: string |
| 84 | default: "" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 85 | description: External(floating) network name (used in both SPT and Rally) |
Dmitrii Kabanov | a2ff9b2 | 2017-08-30 15:47:20 -0700 | [diff] [blame] | 86 | SPT_IMAGE: |
| 87 | type: string |
| 88 | default: "" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 89 | description: Image that is used for network-VM-to-VM-iperf-tests tests |
Dmitrii Kabanov | f984ed4 | 2017-09-29 10:32:35 -0700 | [diff] [blame] | 90 | SPT_IMAGE_USER: |
Dmitrii Kabanov | a2ff9b2 | 2017-08-30 15:47:20 -0700 | [diff] [blame] | 91 | type: string |
| 92 | default: "" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 93 | description: Username that is used to ssh to SPT_IMAGE |
Dmitrii Kabanov | a2ff9b2 | 2017-08-30 15:47:20 -0700 | [diff] [blame] | 94 | SPT_FLAVOR: |
| 95 | type: string |
| 96 | default: "" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 97 | description: Flavor name for SPT_IMAGE (make sure you have required flavor created) |
Dmitrii Kabanov | f984ed4 | 2017-09-29 10:32:35 -0700 | [diff] [blame] | 98 | RALLY_IMAGE: |
| 99 | type: string |
| 100 | default: "cirros" |
| 101 | RALLY_FLAVOR: |
| 102 | type: string |
| 103 | default: "m1.tiny" |
Tetiana Korchak | d644b35 | 2017-08-25 10:30:57 -0700 | [diff] [blame] | 104 | description: Flavor name for Rally scenarios |
| 105 | AVAILABILITY_ZONE: |
| 106 | type: string |
| 107 | default: "nova" |
| 108 | description: Name of availability zone |
| 109 | GENERATE_REPORT: |
| 110 | type: boolean |
| 111 | default: 'true' |
| 112 | description: If chosen then at the end of the test run HTML report will be generated |
| 113 | ACCUMULATE_RESULTS: |
| 114 | type: boolean |
| 115 | default: 'true' |
| 116 | description: If chosen then previous build results will be used in the current build |
Oleksii Zhurba | d97ac81 | 2017-10-05 14:18:50 -0500 | [diff] [blame^] | 117 | cvp-sanity: |
| 118 | type: workflow-scm |
| 119 | name: validate-cvp-sanity |
| 120 | display_name: "CVP - Sanity checks" |
| 121 | discard: |
| 122 | build: |
| 123 | keep_num: 20 |
| 124 | artifact: |
| 125 | keep_num: 20 |
| 126 | concurrent: false |
| 127 | scm: |
| 128 | type: git |
| 129 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 130 | credentials: "gerrit" |
| 131 | script: cvp-sanity.groovy |
| 132 | param: |
| 133 | SALT_MASTER_URL: |
| 134 | type: string |
| 135 | default: "" |
| 136 | description: Full Salt API address [e.g. https://10.10.10.2:6969] |
| 137 | SALT_MASTER_CREDENTIALS: |
| 138 | type: string |
| 139 | default: "salt" |
| 140 | SANITY_TESTS_REPO: |
| 141 | type: string |
| 142 | default: "https://github.com/Mirantis/cvp-sanity-checks" |
| 143 | description: Url for cvp-sanity-checks |
| 144 | SANITY_TESTS_SET: |
| 145 | type: string |
| 146 | default: "" |
| 147 | description: Leave empty for full run or choose a file, e.g. test_mtu.py |
| 148 | PROXY: |
| 149 | type: string |
| 150 | default: "" |
| 151 | description: Proxy address to clone repo and install python requirements |