blob: 6bf4cacc25092f38e1b1204e2fce78144ba70e8e [file] [log] [blame]
Dmitrii Kabanovb908f302017-08-11 00:21:59 -07001parameters:
Sam Stoelinga1539f3c2017-09-25 17:05:40 -07002 _param:
3 jenkins_salt_api_url: "http://${_param:salt_master_host}:6969"
Dmitrii Kabanovb908f302017-08-11 00:21:59 -07004 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 Kabanovb908f302017-08-11 00:21:59 -070027 param:
28 SALT_MASTER_URL:
29 type: string
Sam Stoelinga1539f3c2017-09-25 17:05:40 -070030 default: "${_param:jenkins_salt_api_url}"
31 description: Full Salt API address [e.g. https://10.10.10.2:6969]
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070032 SALT_MASTER_CREDENTIALS:
33 type: string
34 default: "salt"
Tetiana Korchakd644b352017-08-25 10:30:57 -070035 description: Credentials to the Salt API
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070036 TEST_IMAGE:
37 type: string
38 default: "docker-prod-local.artifactory.mirantis.com/mirantis/oss/qa-tools"
Tetiana Korchakd644b352017-08-25 10:30:57 -070039 description: Docker image to setup testing environment
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070040 TARGET_NODE:
41 type: string
42 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -070043 description: Target node where this job will be executed from
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070044 RUN_RALLY_TESTS:
45 type: boolean
46 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070047 description: If chosen then Rally tests will be executed
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070048 RUN_TEMPEST_TESTS:
49 type: boolean
50 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070051 description: If chosen then Tempest tests will be executed
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070052 RUN_K8S_TESTS:
53 type: boolean
54 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070055 description: If chosen then K8S tests will be executed
Dmitrii Kabanovb908f302017-08-11 00:21:59 -070056 TEMPEST_TEST_SET:
57 type: choice
58 choices:
59 - smoke
60 - full
Tetiana Korchakd644b352017-08-25 10:30:57 -070061 description: Set of Tempest tests to run
Dmitrii Kabanov263cd8a2017-11-10 00:42:22 -080062 TEMPEST_CONFIG_REPO:
63 type: string
64 default: ""
65 description: Git repository with configuration files for Tempest
66 TEMPEST_CONFIG_BRANCH:
67 type: string
68 default: ""
69 description: Git branch which will be used during the checkout
70 TEMPEST_REPO:
71 type: string
72 default: ""
73 description: Git repository with Tempest
74 TEMPEST_VERSION:
75 type: string
76 default: ""
77 description: Version of Tempest (tag, branch or commit)
Tetiana Korchakd644b352017-08-25 10:30:57 -070078 TEST_K8S_NODE:
79 type: string
80 default: ""
81 description: Kubernetes node to run tests from
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070082 TEST_K8S_API_SERVER:
83 type: string
84 default: "http://127.0.0.1:8080"
Tetiana Korchakd644b352017-08-25 10:30:57 -070085 description: API server parameter for K8S tests
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070086 TEST_K8S_CONFORMANCE_IMAGE:
87 type: string
vrovachev7e709802017-09-15 20:04:26 +040088 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.7.5-2_1504192939316"
Tetiana Korchakd644b352017-08-25 10:30:57 -070089 description: Docker image to run K8S tests
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070090 RUN_SPT_TESTS:
91 type: boolean
92 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070093 description: If chosen then SPT tests will be executed
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070094 SPT_SSH_USER:
95 type: string
96 default: "root"
Tetiana Korchakd644b352017-08-25 10:30:57 -070097 description: Username that is used to ssh between cluster nodes
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -070098 FLOATING_NETWORK:
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070099 type: string
100 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700101 description: External(floating) network name (used in both SPT and Rally)
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700102 SPT_IMAGE:
103 type: string
104 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700105 description: Image that is used for network-VM-to-VM-iperf-tests tests
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700106 SPT_IMAGE_USER:
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700107 type: string
108 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700109 description: Username that is used to ssh to SPT_IMAGE
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -0700110 SPT_FLAVOR:
111 type: string
112 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -0700113 description: Flavor name for SPT_IMAGE (make sure you have required flavor created)
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -0700114 RALLY_IMAGE:
115 type: string
116 default: "cirros"
117 RALLY_FLAVOR:
118 type: string
119 default: "m1.tiny"
Tetiana Korchakd644b352017-08-25 10:30:57 -0700120 description: Flavor name for Rally scenarios
Dmitrii Kabanov263cd8a2017-11-10 00:42:22 -0800121 RALLY_CONFIG_REPO:
122 type: string
123 default: ""
124 description: Git repository with configuration files for Rally
125 RALLY_CONFIG_BRANCH:
126 type: string
127 default: ""
128 description: Git branch which will be used during the checkout
Sergey Galkin42639302017-12-01 16:27:30 +0400129 RALLY_SCENARIOS:
130 type: string
131 default: ""
132 description: Rally scenarios directory or file with scenarios
133 RALLY_TASK_ARGS_FILE:
134 type: string
135 default: ""
136 description: Rally scenarios arguments file
Tetiana Korchakd644b352017-08-25 10:30:57 -0700137 AVAILABILITY_ZONE:
138 type: string
139 default: "nova"
140 description: Name of availability zone
141 GENERATE_REPORT:
142 type: boolean
143 default: 'true'
144 description: If chosen then at the end of the test run HTML report will be generated
145 ACCUMULATE_RESULTS:
146 type: boolean
147 default: 'true'
148 description: If chosen then previous build results will be used in the current build
Oleksii Zhurbad97ac812017-10-05 14:18:50 -0500149 cvp-sanity:
150 type: workflow-scm
151 name: validate-cvp-sanity
152 display_name: "CVP - Sanity checks"
153 discard:
154 build:
155 keep_num: 20
156 artifact:
157 keep_num: 20
158 concurrent: false
159 scm:
160 type: git
161 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
162 credentials: "gerrit"
163 script: cvp-sanity.groovy
164 param:
165 SALT_MASTER_URL:
166 type: string
167 default: ""
168 description: Full Salt API address [e.g. https://10.10.10.2:6969]
169 SALT_MASTER_CREDENTIALS:
170 type: string
171 default: "salt"
172 SANITY_TESTS_REPO:
173 type: string
174 default: "https://github.com/Mirantis/cvp-sanity-checks"
175 description: Url for cvp-sanity-checks
176 SANITY_TESTS_SET:
177 type: string
178 default: ""
179 description: Leave empty for full run or choose a file, e.g. test_mtu.py
180 PROXY:
181 type: string
182 default: ""
183 description: Proxy address to clone repo and install python requirements