Merge "Fix neutron func job sudo config."
This commit is contained in:
commit
c9f3666f51
@ -29,6 +29,7 @@
|
|||||||
cd $BASE/new/neutron
|
cd $BASE/new/neutron
|
||||||
# Run tests as the stack user to allow sudo.
|
# Run tests as the stack user to allow sudo.
|
||||||
sudo chown -R stack:stack $BASE/new/neutron
|
sudo chown -R stack:stack $BASE/new/neutron
|
||||||
|
echo 'Defaults:stack !requiretty' | sudo tee /etc/sudoers.d/00_no_tty
|
||||||
echo "Running neutron functional test suite"
|
echo "Running neutron functional test suite"
|
||||||
sudo -H -u stack tox -e functional
|
sudo -H -u stack tox -e functional
|
||||||
}}
|
}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user