Allow to configure pattern for launch tests
Change-Id: I5bf73dc1381e13ce169aa6d55f3a67e144b4cbc2
This commit is contained in:
parent
dd853302a4
commit
a6120a5555
|
@ -27,6 +27,8 @@ configs:
|
|||
server_path: /var/www/html
|
||||
site: http://localhost
|
||||
username: jenkins
|
||||
tests_set: full
|
||||
tests_regex: null
|
||||
volume:
|
||||
storage_protocol: ceph
|
||||
volume_feature:
|
||||
|
|
|
@ -27,7 +27,13 @@ rally verify configure-verifier --extend /var/lib/rally/tempest.conf --show
|
|||
|
||||
os_release="{{ rally.tempest.openstack_release }}"
|
||||
|
||||
rally verify start --skip-list "/var/lib/rally/${os_release}-skip-list.list" --detailed
|
||||
{% if rally.tempest.tests_regex %}
|
||||
pattern="{{ rally.tempest.tests_regex }}"
|
||||
{% else %}
|
||||
pattern="set={{ rally.tempest.tests_set }}"
|
||||
{% endif %}
|
||||
|
||||
rally verify start --pattern "${pattern}" --skip-list "/var/lib/rally/${os_release}-skip-list.list" --detailed
|
||||
|
||||
path="/var/lib/rally/{{ rally.tempest.static.path }}"
|
||||
mkdir -p "${path}"
|
||||
|
|
Loading…
Reference in New Issue