blob: 1c9aafc3de21f90424a4fd525eff558454c2ecad [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
62 TEST_K8S_NODE:
63 type: string
64 default: ""
65 description: Kubernetes node to run tests from
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070066 TEST_K8S_API_SERVER:
67 type: string
68 default: "http://127.0.0.1:8080"
Tetiana Korchakd644b352017-08-25 10:30:57 -070069 description: API server parameter for K8S tests
Dmitrii Kabanov58bd85e2017-08-14 16:37:39 -070070 TEST_K8S_CONFORMANCE_IMAGE:
71 type: string
vrovachev7e709802017-09-15 20:04:26 +040072 default: "docker-dev-virtual.docker.mirantis.net/mirantis/kubernetes/k8s-conformance:v1.7.5-2_1504192939316"
Tetiana Korchakd644b352017-08-25 10:30:57 -070073 description: Docker image to run K8S tests
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070074 RUN_SPT_TESTS:
75 type: boolean
76 default: 'true'
Tetiana Korchakd644b352017-08-25 10:30:57 -070077 description: If chosen then SPT tests will be executed
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070078 SPT_SSH_USER:
79 type: string
80 default: "root"
Tetiana Korchakd644b352017-08-25 10:30:57 -070081 description: Username that is used to ssh between cluster nodes
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -070082 FLOATING_NETWORK:
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070083 type: string
84 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -070085 description: External(floating) network name (used in both SPT and Rally)
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070086 SPT_IMAGE:
87 type: string
88 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -070089 description: Image that is used for network-VM-to-VM-iperf-tests tests
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -070090 SPT_IMAGE_USER:
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070091 type: string
92 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -070093 description: Username that is used to ssh to SPT_IMAGE
Dmitrii Kabanova2ff9b22017-08-30 15:47:20 -070094 SPT_FLAVOR:
95 type: string
96 default: ""
Tetiana Korchakd644b352017-08-25 10:30:57 -070097 description: Flavor name for SPT_IMAGE (make sure you have required flavor created)
Dmitrii Kabanovf984ed42017-09-29 10:32:35 -070098 RALLY_IMAGE:
99 type: string
100 default: "cirros"
101 RALLY_FLAVOR:
102 type: string
103 default: "m1.tiny"
Tetiana Korchakd644b352017-08-25 10:30:57 -0700104 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 Zhurbad97ac812017-10-05 14:18:50 -0500117 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