Run ironicclient functional tests as STACK_USER
These need to run as the correct user to writeout a test.conf and invoke tox from /opt/stack/new/python-ironicclient. This also corrects a typo that made it through the initial addition of this job. Change-Id: Iae25dbebdd3fe3d8329450db2d5f5a16cbbfad36
This commit is contained in:
parent
dfc4dc3a22
commit
62af93edea
@ -54,7 +54,7 @@
|
||||
export DEVSTACK_GATE_TIMEOUT=120
|
||||
export DEVSTACK_GATE_TEMPEST=0
|
||||
export DEVSTACK_PROJECT_FROM_GIT=python-ironicclient
|
||||
export OVERRIDE_ENABLED_SERIVES=key,mysql,rabbit,ir-api,ir-cond
|
||||
export OVERRIDE_ENABLED_SERVICES=key,mysql,rabbit,ir-api,ir-cond
|
||||
export BRANCH_OVERRIDE={branch-override}
|
||||
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
||||
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
||||
@ -63,7 +63,7 @@
|
||||
|
||||
function post_test_hook {{
|
||||
source $BASE/new/devstack/openrc admin admin
|
||||
(cd /opt/stack/new/python-ironicclient && ./tools/run_functional.sh)
|
||||
(cd /opt/stack/new/python-ironicclient && sudo -H -u stack ./tools/run_functional.sh)
|
||||
}}
|
||||
|
||||
export -f post_test_hook
|
||||
|
Loading…
Reference in New Issue
Block a user