From 8e21a4152851cc3f826e3537246eb3ef21d3b68c Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Thu, 18 Aug 2016 13:42:52 +0000
Subject: [PATCH] Task #9682: Dont pull docker images from nexus anymore, since
 it spams the logs and crashes nexus. We distribute the images after build for
 now.

---
 MAC/Services/src/PipelineControl.py | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/MAC/Services/src/PipelineControl.py b/MAC/Services/src/PipelineControl.py
index 7daf1092480..7c780af556f 100755
--- a/MAC/Services/src/PipelineControl.py
+++ b/MAC/Services/src/PipelineControl.py
@@ -492,16 +492,6 @@ runcmd {setStatus_active}
 # notify ganglia
 wget -O - -q "http://ganglia.control.lofar/ganglia/api/events.php?action=add&start_time=now&summary=Pipeline {obsid} ACTIVE&host_regex="
 
-# pull docker image from repository on all nodes
-srun --nodelist=$SLURM_NODELIST --cpus-per-task=1 --job-name=docker-pull \
-      --kill-on-bad-exit=0 --wait=0 \
-  docker pull {repository}/{image}
-
-# put a local tag on the pulled image
-srun --nodelist=$SLURM_NODELIST --cpus-per-task=1 --job-name=docker-tag \
-      --kill-on-bad-exit=0 --wait=0 \
-  docker tag -f {repository}/{image} {image}
-
 # run the pipeline
 runcmd docker run --rm --net=host \
       -e LOFARENV={lofarenv} \
-- 
GitLab