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: I1e712e6c592cb2d63a63ac38b6472de4c6a6d332
This commit is contained in:
Raissa Sarmento 2017-10-17 10:53:25 +01:00
parent 95c6b4466d
commit c9ec822b9a
1 changed files with 3 additions and 3 deletions

View File

@ -18,8 +18,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'
@ -102,4 +102,4 @@ iniset $TEMPEST_CONFIG validation network_for_ssh ${PRIVATE_NETWORK_NAME:-"priva
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