trove/roles/trove-devstack/tasks/main.yml
Marcin Piwowarczyk e9cc6ca372 Execute functional test jobs running under python3
Functional tests are executed by trovestack script, which uses python
in default OS version which is 2.7.

This change wraps python in tox and executes trovestack int_tests in
virtual enviroment, starting them in python3.

Any future python version change could be managed by tox framework.

Change-Id: I3a849978241d3d0669ef9e1c802ff504ac3c32cb
Signed-off-by: Marcin Piwowarczyk <m.piwowarczy@samsung.com>
2018-12-14 13:07:13 +01:00

10 lines
310 B
YAML

- name: Run trovestack
shell: |
export BRIDGE_IP=10.1.0.1
export DEST={{devstack_base_dir}}
export PATH_DEVSTACK_SRC=$DEST/devstack
export TROVE_RESIZE_TIME_OUT={{trove_resize_time_out}}
cd $DEST/trove
tox -etrovestack -vv -- gate-tests {{trove_test_datastore}} {{trove_test_group}}