/usr/share/tripleo-image-elements/tempest/install.d/51-tempest is in python-tripleo-image-elements 0.7.1-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #!/usr/bin/env bash
set -ex
install-packages augeas-tools
os-svc-install -i "$TEMPEST_VENV_DIR" -u tempest -r /opt/stack/tempest
source $TEMPEST_VENV_DIR/bin/activate
cd /opt/stack/tempest
# bug #1293812 : Avoid easy_install triggering on pbr.
pip install -U 'pbr>=0.5.21,<1.0'
pip install -r test-requirements.txt
testr init
# soft link testr into PATH so we can use it directly in run-tempest
ln -sf $TEMPEST_VENV_DIR/bin/testr /usr/local/bin/testr
install -m 0664 -o root -g root $(dirname $0)/../tests2skip.txt /opt/stack/tempest/tests2skip.txt
install -m 0775 -o root -g root $(dirname $0)/../tests2skip.py /opt/stack/tempest/tests2skip.py
|