Merge "Add missing export -f in rally-cli job"

This commit is contained in:
Jenkins 2014-06-30 23:44:06 +00:00 committed by Gerrit Code Review
commit 8565f468ad

View File

@ -39,7 +39,7 @@
function pre_test_hook {{ function pre_test_hook {{
# Install rally-devstack integration # Install rally-devstack integration
cp -r $BASE/new/rally/contrib/devstack/* $BASE/new/devstack cp -r $BASE/new/rally/contrib/devstack/* $BASE/new/devstack/
}} }}
export -f pre_test_hook export -f pre_test_hook
@ -106,12 +106,13 @@
function pre_test_hook { function pre_test_hook {
# Install rally-devstack integration # Install rally-devstack integration
cp -r $BASE/new/rally/contrib/devstack/* $BASE/new/devstack cp -r $BASE/new/rally/contrib/devstack/* $BASE/new/devstack/
} }
function post_test_hook { function post_test_hook {
cd $BASE/new/rally cd $BASE/new/rally
sudo -H -u stack tox -ecli -v sudo -H -u stack tox -ecli -v
} }
export -f pre_test_hook
export -f post_test_hook export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh