Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Allow Asynchronous Apex Builds"
[releng.git]
/
jjb
/
dovetail
/
dovetail-run.sh
diff --git
a/jjb/dovetail/dovetail-run.sh
b/jjb/dovetail/dovetail-run.sh
index
5f462e9
..
3ad67b6
100755
(executable)
--- a/
jjb/dovetail/dovetail-run.sh
+++ b/
jjb/dovetail/dovetail-run.sh
@@
-54,6
+54,7
@@
cd ${releng_repo}/modules
sudo virtualenv venv
source venv/bin/activate
sudo pip install -e ./ >/dev/null
sudo virtualenv venv
source venv/bin/activate
sudo pip install -e ./ >/dev/null
+sudo pip install netaddr
if [[ ${INSTALLER_TYPE} == compass ]]; then
options="-u root -p root"
if [[ ${INSTALLER_TYPE} == compass ]]; then
options="-u root -p root"
@@
-65,6
+66,11
@@
else
fi
pod_file_dir="/home/opnfv/dovetail/userconfig"
fi
pod_file_dir="/home/opnfv/dovetail/userconfig"
+if [ -d ${pod_file_dir} ]; then
+ sudo rm -rf ${pod_file_dir}/*
+else
+ sudo mkdir -p ${pod_file_dir}
+fi
cmd="sudo python ${releng_repo}/utils/create_pod_file.py -t ${INSTALLER_TYPE} -i ${INSTALLER_IP} ${options} -f ${pod_file_dir}/pod.yaml"
echo ${cmd}
${cmd}
cmd="sudo python ${releng_repo}/utils/create_pod_file.py -t ${INSTALLER_TYPE} -i ${INSTALLER_IP} ${options} -f ${pod_file_dir}/pod.yaml"
echo ${cmd}
${cmd}