Merge "Cleaning up yamllint warnings"
[apex.git] / contrib / simple_deploy.sh
1 #!/bin/bash
2 set -e
3 apex_home=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/../
4 export PYTHONPATH=$apex_home/apex:$PYTHONPATH
5 $apex_home/ci/dev_dep_check.sh || true
6 pip3 install -r $apex_home/requirements.txt
7 pushd $apex_home/apex
8 python3 clean.py
9 echo "All further output will be piped to $PWD/nohup.out"
10 (nohup python3 deploy.py -v -n ../config/network/network_settings.yaml -d ../config/deploy/os-nosdn-nofeature-noha.yaml --deploy-dir ../build --lib-dir ../lib --image-dir ../.build &)
11 [ -f nohup.out ] || sleep 3
12 tail -f nohup.out
13 popd