summaryrefslogtreecommitdiffstats
path: root/build/download_offline_data_by_lists.sh
diff options
context:
space:
mode:
authoreronkeo <ronan.keogh@est.tech>2019-03-20 15:00:20 +0000
committereronkeo <ronan.keogh@est.tech>2019-03-20 15:00:20 +0000
commitf842b36613c91f86dd371b590e048e5c4e510f34 (patch)
tree317daabccb46b72333d4d0dbb5623243a2000668 /build/download_offline_data_by_lists.sh
parentdbc6a7202dc89264a2857e12c625fb2328584a1e (diff)
update for missing nginx tarfile
This update adds an entry to the docker_images lists file to ensure it is saved as a tar file and available for processing in the "Prepare infra related images to infra folder" section. Change-Id: I293144daa96b3c579443a2e76a407ea04821dce7 Issue-ID: OOM-1738 Signed-off-by: eronkeo <ronan.keogh@est.tech>
Diffstat (limited to 'build/download_offline_data_by_lists.sh')
-rwxr-xr-xbuild/download_offline_data_by_lists.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/build/download_offline_data_by_lists.sh b/build/download_offline_data_by_lists.sh
index 741c2046..8f671844 100755
--- a/build/download_offline_data_by_lists.sh
+++ b/build/download_offline_data_by_lists.sh
@@ -59,14 +59,12 @@ echo "[Step $((CURR++))/$TOTAL Download docker images for infra-server]"
$CTOOLS/download-docker-images.sh "${LISTS_DIR}/infra_docker_images.list"
echo "[Step $((CURR++))/$TOTAL Build own nginx image]"
-$CTOOLS/create_nginx_image/01create-image.sh
+$CTOOLS/create_nginx_image/01create-image.sh "${DATA_DIR}/offline_data/docker_images_infra"
echo "[Step $((CURR++))/$TOTAL Save docker images from docker cache to tarfiles]"
$CTOOLS/save-docker-images.sh "${LISTS_DIR}/${TAG}-docker_images.list" "${DATA_DIR}/offline_data/docker_images_for_nexus"
echo "[Step $((CURR++))/$TOTAL Prepare infra related images to infra folder]"
-mkdir -p "${DATA_DIR}/offline_data/docker_images_infra"
-mv "${DATA_DIR}/offline_data/docker_images_for_nexus/own_nginx_latest.tar" "${DATA_DIR}/offline_data/docker_images_infra"
$CTOOLS/save-docker-images.sh "${LISTS_DIR}/infra_docker_images.list" "${DATA_DIR}/offline_data/docker_images_infra"
echo "[Step $((CURR++))/$TOTAL Download git repos]"