X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=bootstrap.sh;h=015858b1fd776a9c75ce737bcd6bc5c12151b300;hb=cf4c60a780c0090174634ca87289001d7f02fc99;hp=02aa7133e50c499d25ea768aaaf43a3cb6109870;hpb=47b807e7268231b35982dc3b5a0c3108537d6432;p=csit.git 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/"