Skip to content

Commit

Permalink
#5 adjust docker prepull
Browse files Browse the repository at this point in the history
  • Loading branch information
obriensystems authored and Michael O'Brien committed Dec 18, 2017
1 parent 53a538a commit b267b59
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions cd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ echo "sleeping 2 min"
# keep jenkins 120 sec timeout happy with echos
sleep 60
echo " deleting /dockerdata-nfs"
sudo chmod -R 777 /dockerdata-nfs
sudo chmod -R 777 /dockerdata-nfs/onap
rm -rf /dockerdata-nfs/onap
rm -rf oom

Expand All @@ -55,14 +55,7 @@ while [ $(kubectl get pods -n onap -a | grep config | grep 0/1 | grep Completed
done

echo "pre pull docker images - 15+ min"

if [ "$BRANCH" = "master" ]; then
echo "pre pulling from master" # HACK
curl https://jira.onap.org/secure/attachment/10742/prepull_docker_master.sh > prepull_docker.sh
else
echo "pre pulling from ${BRANCH}"
curl https://jira.onap.org/secure/attachment/10741/prepull_docker_110.sh > prepull_docker.sh
fi
curl https://jira.onap.org/secure/attachment/10750/prepull_docker.sh > prepull_docker.sh

chmod 777 prepull_docker.sh
./prepull_docker.sh
Expand Down

0 comments on commit b267b59

Please sign in to comment.