summaryrefslogtreecommitdiffstats
path: root/build/download_offline_data_by_lists.sh
diff options
context:
space:
mode:
authorMichal Ptacek <m.ptacek@partner.samsung.com>2019-04-03 13:55:29 +0000
committerMichal Ptacek <m.ptacek@partner.samsung.com>2019-04-05 13:23:09 +0200
commit90ec0cf1365c7d5b104ed921a9c273623a4886ba (patch)
treec7df982159c24aef7be0e46add76092209fbf358 /build/download_offline_data_by_lists.sh
parent4e2e9e887b8941a501a80a6c870ad4cb9295ddac (diff)
Our bare repos need to have casablanca branch
This is required to align with OOM charts, otherwise some components like DMAAP might be not initialized properly. Furthmore removing duplicated files, most of our data_lists are same for Casablanca MR and Casablanca base releases. Change-Id: I376410c7915d8f2682287c31392e2f3796adc990 Issue-ID: OOM-1771 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
Diffstat (limited to 'build/download_offline_data_by_lists.sh')
-rwxr-xr-xbuild/download_offline_data_by_lists.sh15
1 files changed, 9 insertions, 6 deletions
diff --git a/build/download_offline_data_by_lists.sh b/build/download_offline_data_by_lists.sh
index 8f671844..bd02b4f4 100755
--- a/build/download_offline_data_by_lists.sh
+++ b/build/download_offline_data_by_lists.sh
@@ -25,8 +25,11 @@ set -e
usage () {
echo "Usage:"
echo -e "./$(basename $0) <project version>\n"
+ echo "onap_3.0.0 for casablanca (sign-off 30/11/2018)"
+ echo "onap_3.0.1 for casablanca maintenance release (sign-off 10/12/2018)"
+ echo ""
echo "Example:"
- echo " ./$(basename $0) onap_3.0.0"
+ echo " ./$(basename $0) onap_3.0.1"
}
# boilerplate
@@ -68,22 +71,22 @@ echo "[Step $((CURR++))/$TOTAL Prepare infra related images to infra folder]"
$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]"
-$CTOOLS/download-git-repos.sh "${LISTS_DIR}/${TAG}-git_repos.list" "${DATA_DIR}/git-repo"
+$CTOOLS/download-git-repos.sh "${LISTS_DIR}/onap_3.0.x-git_repos.list" "${DATA_DIR}/git-repo"
echo "[Step $((CURR++))/$TOTAL Download http files]"
-$CTOOLS/download-http-files.sh "${LISTS_DIR}/${TAG}-http_files.list" "${DATA_DIR}/http"
+$CTOOLS/download-http-files.sh "${LISTS_DIR}/onap_3.0.x-http_files.list" "${DATA_DIR}/http"
echo "[Step $((CURR++))/$TOTAL Download npm pkgs]"
-$CTOOLS/download-npm-pkgs.sh "${LISTS_DIR}/${TAG}-npm.list" "${DATA_DIR}/offline_data/npm_tar"
+$CTOOLS/download-npm-pkgs.sh "${LISTS_DIR}/onap_3.0.x-npm.list" "${DATA_DIR}/offline_data/npm_tar"
echo "[Step $((CURR++))/$TOTAL Download bin tools]"
-$CTOOLS/download-bin-tools.sh "${TAG}" "${DATA_DIR}/downloads"
+$CTOOLS/download-bin-tools.sh "${DATA_DIR}/downloads"
echo "[Step $((CURR++))/$TOTAL Create RHEL repository]"
$CTOOLS/create-rhel-repo.sh "${DATA_DIR}/pkg/rhel"
echo "[Step $((CURR++))/$TOTAL Download sdnc-ansible-server packages]"
-$CTOOLS/download-pip.sh "${LISTS_DIR}/${TAG}-pip_packages.list" "${DATA_DIR}/offline_data/pypi"
+$CTOOLS/download-pip.sh "${LISTS_DIR}/onap_3.0.x-pip_packages.list" "${DATA_DIR}/offline_data/pypi"
$CTOOLS/download-files.sh "${LISTS_DIR}/deb_packages.list" "${DATA_DIR}/pkg/ubuntu/xenial"
echo "[Step $((CURR++))/$TOTAL Create APT repository]"