Use generic user for zuul v3
The manila post_test_hook.sh script still uses jenkins as user, but with zuulv3 that should be zuul. $USER solves that issue. Change-Id: I23299a15249be292e3a60450db2adea0abab64bb
This commit is contained in:
parent
c0ecd9f069
commit
658c7a6847
@ -16,8 +16,8 @@
|
||||
|
||||
TEMPEST_CONFIG=$BASE/new/tempest/etc/tempest.conf
|
||||
|
||||
sudo chown -R jenkins:stack $BASE/new/tempest
|
||||
sudo chown -R jenkins:stack $BASE/data/tempest
|
||||
sudo chown -R $USER:stack $BASE/new/tempest
|
||||
sudo chown -R $USER:stack $BASE/data/tempest
|
||||
sudo chmod -R o+rx $BASE/new/devstack/files
|
||||
|
||||
# Import devstack functions 'iniset'
|
||||
@ -127,7 +127,7 @@ iniset $TEMPEST_CONFIG validation ssh_timeout $BUILD_TIMEOUT
|
||||
iniset $TEMPEST_CONFIG validation network_for_ssh ${PRIVATE_NETWORK_NAME:-"private"}
|
||||
|
||||
echo "Running tempest manila test suites"
|
||||
sudo -H -u jenkins tox -eall-plugin $MANILA_TESTS -- --concurrency=$MANILA_TEMPEST_CONCURRENCY
|
||||
sudo -H -u $USER tox -eall-plugin $MANILA_TESTS -- --concurrency=$MANILA_TEMPEST_CONCURRENCY
|
||||
|
||||
_retval=$?
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user