diff options
author | Peter Mikus <pmikus@cisco.com> | 2018-09-12 14:59:04 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2018-09-13 10:34:03 +0000 |
commit | 07eb18d206e09d3b9915792a8f6c475bb01e255a (patch) | |
tree | 334927e06f2de1bef538a56a655b118c29b49e41 /bootstrap.sh | |
parent | 89ba5533d38034f32b6213c8250f842f0bb7c573 (diff) |
CSIT-1282 Migrate from Nexus.fd.io to packagecloud.io
Change-Id: Ib4e72dc8e3c0fedfcd702f4f97bc4f26cbc642e9
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bootstrap.sh b/bootstrap.sh index 02aa7133e5..015858b1fd 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -44,10 +44,12 @@ if [ "${#}" -ne "0" ]; then echo ${arr[0]} SKIP_PATCH="skip_patchORskip_vpp_patch" else - DPDK_STABLE_VER=$(cat ${SCRIPT_DIR}/DPDK_STABLE_VER) - VPP_STABLE_VER=$(cat ${SCRIPT_DIR}/VPP_STABLE_VER_${DISTRO}) - bash ${SCRIPT_DIR}/resources/tools/scripts/download_install_vpp_pkgs.sh \ - --skip-install --vpp ${VPP_STABLE_VER} --dkms ${DPDK_STABLE_VER} + DKMS_VERSION=$(< ${SCRIPT_DIR}/DPDK_STABLE_VER) + VPP_VERSION=$(< ${SCRIPT_DIR}/VPP_STABLE_VER_${DISTRO}) + source "${SCRIPT_DIR}/resources/libraries/bash/function/artifacts.sh" + download_artifacts + # Need to revert -euo as the rest of script is not optimized for this. + set +euo pipefail fi VIRL_DIR_LOC="/tmp/" |