blob: 71b8e4fdc37c52495c2fbbde90e2b5ae4e550c3a [file] [log] [blame]
Andrea Frittoli (andreaf)7d5445d2017-10-03 18:43:05 +01001Run Tempest
2
3**Role Variables**
4
5.. zuul:rolevar:: devstack_base_dir
6 :default: /opt/stack
7
8 The devstack base directory.
9
10.. zuul:rolevar:: tempest_concurrency
11 :default: 0
12
13 The number of parallel test processes.
14
Luigi Toscanoe8a1f532017-11-16 15:22:07 +010015.. zuul:rolevar:: tempest_test_regex
16 :default: ''
17
18 A regular expression used to select the tests.
Michel Peterson515edd42017-12-21 17:22:49 +020019
Luigi Toscanoe8a1f532017-11-16 15:22:07 +010020 It works only when used with some specific tox environments
21 ('all', 'all-plugin'.)
22
Michel Peterson515edd42017-12-21 17:22:49 +020023 Multi-line and commented regexs can be achieved by doing this:
24
25 ::
26 vars:
27 tempest_test_regex: |
28 (?x) # Ignore comments and whitespaces
29 # Line with only a comment.
30 (tempest\.(api|scenario|thirdparty)).*$ # Run only api scenario and third party
31
Michel Petersonef1a16d2018-02-23 20:20:22 +020032.. zuul:rolevar:: tempest_test_blacklist
33
34 Specifies a blacklist file to skip tests that are not needed.
35
36 Pass a full path to the file.
37
Andreas Jaegerba2f4792018-01-12 16:48:52 +010038.. zuul:rolevar:: tox_envlist
Andrea Frittoli (andreaf)7d5445d2017-10-03 18:43:05 +010039 :default: smoke
40
41 The Tempest tox environment to run.
Chandan Kumara9445042018-02-26 10:22:29 +000042
43.. zuul:rolevar:: tempest_black_regex
44 :default: ''
45
46 A regular expression used to skip the tests.
47
48 It works only when used with some specific tox environments
49 ('all', 'all-plugin'.)
50
51 Multi-line and commented regexs can be achieved by doing this:
52
53 ::
54 vars:
55 tempest_black_regex: |
56 (?x) # Ignore comments and whitespaces
57 # Line with only a comment.
58 (tempest.api.identity).*$