diff options
Diffstat (limited to 'deployment')
-rwxr-xr-x | deployment/heat/onap-oom/scripts/prepull-docker.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/deployment/heat/onap-oom/scripts/prepull-docker.sh b/deployment/heat/onap-oom/scripts/prepull-docker.sh new file mode 100755 index 000000000..d3556a882 --- /dev/null +++ b/deployment/heat/onap-oom/scripts/prepull-docker.sh @@ -0,0 +1,15 @@ +#!/bin/bash -x + +if [ -z "$WORKSPACE" ]; then + export WORKSPACE=`git rev-parse --show-toplevel` +fi + +if [ "$#" -ne 1 ]; then + echo "Usage: $0 <docker-proxy>" + exit 1 +fi +DOCKER_PROXY=$1 + +for DOCKER_IMAGE in $(tail -n +2 $WORKSPACE/version-manifest/src/main/resources/docker-manifest.csv | tr ',' ':'); do + docker pull $DOCKER_PROXY/$DOCKER_IMAGE +done |