Ubuntu distro install uses testrepository

The ubuntu tempest package still uses testrepository instead of stestr.

Change-Id: I69325f4d7e01940cf4099df0c56f1eaf9f060dd0
This commit is contained in:
Jimmy McCrory 2018-11-01 16:24:39 -07:00
parent 0f0803e2d8
commit 74f49fc12f
3 changed files with 5 additions and 1 deletions

View File

@ -16,6 +16,8 @@
## Verbosity Options
debug: False
stestr_executable: "{{ _stestr_executable | default('stestr') }}"
# Install openstack tempest
# set the tempest_install_method to source or distro
# on choosing source it will install from git or venv

View File

@ -44,7 +44,7 @@
then
. {{ tempest_venv_bin }}/activate
fi
stestr last --subunit > {{ tempest_log_dir }}/testrepository.subunit
{{ stestr_executable }} last --subunit > {{ tempest_log_dir }}/testrepository.subunit
args:
chdir: "{{ tempest_workspace }}"
executable: /bin/bash

View File

@ -16,6 +16,8 @@
## APT Cache options
cache_timeout: 600
_stestr_executable: "{{ (tempest_install_method == 'distro') | ternary('testr', 'stestr') }}"
tempest_distro_packages:
- git-core