diff options
author | 2018-07-25 11:04:46 -0700 | |
---|---|---|
committer | 2018-07-25 11:04:46 -0700 | |
commit | 4a086ee9ae0b0e8c08da84177e1c32ff351ddc58 (patch) | |
tree | 92b0dd33905f518d1e48a3533cb68bce6d3e6053 /deployment/heat/onap-oom/scripts/prepull-docker.sh | |
parent | 61720162c1e00f54627255e787a53a5c2bbc6f97 (diff) |
Also prepull staging manifest
Change-Id: Id80b400e724b23669383227d7ad920ca14a01ef4
Issue-ID: INT-586
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'deployment/heat/onap-oom/scripts/prepull-docker.sh')
-rwxr-xr-x | deployment/heat/onap-oom/scripts/prepull-docker.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/deployment/heat/onap-oom/scripts/prepull-docker.sh b/deployment/heat/onap-oom/scripts/prepull-docker.sh index 4f88bcbec..37385dd55 100755 --- a/deployment/heat/onap-oom/scripts/prepull-docker.sh +++ b/deployment/heat/onap-oom/scripts/prepull-docker.sh @@ -19,6 +19,8 @@ if [ "$#" -ne 1 ]; then 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 +for MANIFEST in docker-manifest.csv docker-manifest-staging.csv; do + for DOCKER_IMAGE in $(tail -n +2 $WORKSPACE/version-manifest/src/main/resources/$MANIFEST | tr ',' ':'); do + docker pull $DOCKER_PROXY/$DOCKER_IMAGE + done done |