summaryrefslogtreecommitdiffstats
path: root/jjb/releng
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2017-09-26 11:36:22 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2017-09-26 11:38:56 -0700
commit4630526967f7c630ce9c4eae03bad08439095f63 (patch)
tree0e5e604fefaf0f31f85875ac603a265069bd4aa0 /jjb/releng
parent103ace655789ae022453b0a15d7ecbe802ad83a1 (diff)
Remove Restriction on Total Docker Builds per Node
The docker build script will only allow one docker build at a time. As docker builds are now restricted to one per-node by project through the throttle-build plugin, this restriction can be lifted. JIRA: RELENG-315 Change-Id: I4c430f99eaaed831fa0c49284280a8fa9fbe13c8 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'jjb/releng')
-rw-r--r--jjb/releng/opnfv-docker.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/jjb/releng/opnfv-docker.sh b/jjb/releng/opnfv-docker.sh
index b03505e81..954d7c8ab 100644
--- a/jjb/releng/opnfv-docker.sh
+++ b/jjb/releng/opnfv-docker.sh
@@ -17,17 +17,6 @@ echo "Starting opnfv-docker for $DOCKER_REPO_NAME ..."
echo "--------------------------------------------------------"
echo
-count=30 # docker build jobs might take up to ~30 min
-while [[ -n `ps -ef|grep 'docker build'|grep -v grep` ]]; do
- echo "Build in progress. Waiting..."
- sleep 60
- count=$(( $count - 1 ))
- if [ $count -eq 0 ]; then
- echo "Timeout. Aborting..."
- exit 1
- fi
-done
-
# Remove previous running containers if exist
if [[ -n "$(docker ps -a | grep $DOCKER_REPO_NAME)" ]]; then
echo "Removing existing $DOCKER_REPO_NAME containers..."