a9d1473af49ae9b6c4ffde5bdf3fd1a07a74c49b
[apex.git] / contrib / simple_deploy.sh
1 #!/bin/bash
2 set -e
3 apex_home=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/../
4 export CONFIG=$apex_home/build
5 export LIB=$apex_home/lib
6 export RESOURCES=$apex_home/.build/
7 export PYTHONPATH=$PYTHONPATH:$apex_home/lib/python
8 $apex_home/ci/dev_dep_check.sh || true
9 $apex_home/ci/clean.sh
10 pushd $apex_home/build
11 make clean
12 make undercloud
13 make overcloud-opendaylight
14 popd
15 pushd $apex_home/ci
16 echo "All further output will be piped to $PWD/nohup.out"
17 (nohup ./deploy.sh -v -n $apex_home/config/network/network_settings.yaml -d $apex_home/config/deploy/os-odl_l3-nofeature-noha.yaml &)
18 tail -f nohup.out
19 popd