diff options
author | 2019-02-04 15:48:51 +0100 | |
---|---|---|
committer | 2019-02-07 14:47:19 +0100 | |
commit | cab02ed3eb0d8ea58f81944301cabea1577c21ea (patch) | |
tree | 789d553992e347d68cb8e5fa781e23440dce53d2 /build/download_offline_data_by_lists.sh | |
parent | ade405a53f37d03866556bd87daf7a7af740fb74 (diff) |
Create APT repository
Adding creation of APT repository for resources
Issue-ID: OOM-1619
Change-Id: I2d4f14dfcbf2508d31bbc105828853c01733bb3e
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
Diffstat (limited to 'build/download_offline_data_by_lists.sh')
-rwxr-xr-x | build/download_offline_data_by_lists.sh | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/build/download_offline_data_by_lists.sh b/build/download_offline_data_by_lists.sh index 00146ce5..5fb24802 100755 --- a/build/download_offline_data_by_lists.sh +++ b/build/download_offline_data_by_lists.sh @@ -46,7 +46,7 @@ fi CTOOLS="${LOCAL_PATH}/creating_data" LISTS_DIR="${LOCAL_PATH}/data_lists" DATA_DIR="${LOCAL_PATH}/../../resources" -TOTAL=10 +TOTAL=11 CURR=1 message info "Downloading started: $(date)" @@ -77,11 +77,14 @@ $CTOOLS/download-npm-pkgs.sh "$LISTS_DIR/${TAG}-npm.list" "$DATA_DIR/offline_dat echo "[Step $((CURR++))/$TOTAL Download bin tools]" $CTOOLS/download-bin-tools.sh "${TAG}" "$DATA_DIR/downloads" -echo "[Step $((CURR++))/$TOTAL Download rhel pkgs]" -$CTOOLS/download-pkg.sh "$DATA_DIR/pkg/rhel" +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_list.txt" "$DATA_DIR/offline_data/pypi" -$CTOOLS/download-files.sh "$LISTS_DIR/pkg_list.txt" "$DATA_DIR/pkg/ubuntu/xenial" +$CTOOLS/download-pip.sh "$LISTS_DIR/${TAG}-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]" +$CTOOLS/create-ubuntu-repo.sh "$DATA_DIR/pkg/ubuntu/xenial" message info "Downloading finished: $(date)" |