Skip to content

Commit

Permalink
Ubuntu distro install uses testrepository
Browse files Browse the repository at this point in the history
The ubuntu tempest package still uses testrepository instead of stestr.

Change-Id: I69325f4d7e01940cf4099df0c56f1eaf9f060dd0
  • Loading branch information
jimmymccrory committed Nov 1, 2018
1 parent 0f0803e commit 74f49fc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions defaults/main.yml
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tasks/tempest_run.yml
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions vars/ubuntu.yml
Expand Up @@ -16,6 +16,8 @@
## APT Cache options
cache_timeout: 600

_stestr_executable: "{{ (tempest_install_method == 'distro') | ternary('testr', 'stestr') }}"

tempest_distro_packages:
- git-core

Expand Down

0 comments on commit 74f49fc

Please sign in to comment.