Merge "Move devstack hooks from infra config to solum repo"
This commit is contained in:
commit
d5bdef0f0d
@ -18,20 +18,14 @@
|
|||||||
export PROJECTS="stackforge/solum"
|
export PROJECTS="stackforge/solum"
|
||||||
|
|
||||||
function pre_test_hook {
|
function pre_test_hook {
|
||||||
# Install packages from test-requirements.txt
|
cd /opt/stack/new/solum/functionaltests
|
||||||
sudo pip install -r /opt/stack/new/solum/test-requirements.txt
|
./pre_test_hook.sh
|
||||||
|
|
||||||
# Install solum devstack integration
|
|
||||||
SOLUM_BASE=/opt/stack/new/solum/contrib/devstack
|
|
||||||
DEVSTACK_BASE=/opt/stack/new/devstack
|
|
||||||
cp $SOLUM_BASE/lib/* $DEVSTACK_BASE/lib
|
|
||||||
cp $SOLUM_BASE/extras.d/* $DEVSTACK_BASE/extras.d
|
|
||||||
}
|
}
|
||||||
export -f pre_test_hook
|
export -f pre_test_hook
|
||||||
|
|
||||||
function post_test_hook {
|
function post_test_hook {
|
||||||
cd /opt/stack/new/solum/functionaltests
|
cd /opt/stack/new/solum/functionaltests
|
||||||
./run_tests.sh
|
./post_test_hook.sh
|
||||||
}
|
}
|
||||||
export -f post_test_hook
|
export -f post_test_hook
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user