# Download the latest VPP build install packages
rm -f *.${PACKAGE}
echo Downloading VPP packages...
# Download the latest VPP build install packages
rm -f *.${PACKAGE}
echo Downloading VPP packages...
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.
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.
echo ${arr[0]}
else
# Download the latest VPP build install packages
echo ${arr[0]}
else
# Download the latest VPP build install packages
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.
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.
# Download the specific VPP build install packages
DKMS_VERSION=$(< ${SCRIPT_DIR}/DPDK_STABLE_VER)
VPP_VERSION=$(< ${SCRIPT_DIR}/VPP_STABLE_VER_${DISTRO})
# Download the specific VPP build install packages
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.
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.
else
DKMS_VERSION=$(< ${SCRIPT_DIR}/DPDK_STABLE_VER)
VPP_VERSION=$(< ${SCRIPT_DIR}/VPP_STABLE_VER_${DISTRO})
else
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.
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.
function download_artifacts () {
# Get and/or install VPP artifacts from packagecloud.io.
#
function download_artifacts () {
# Get and/or install VPP artifacts from packagecloud.io.
#
+ # Variables read:
+ # - CSIT_DIR - Path to existing root of local CSIT git repository.
# Variables set:
# - REPO_URL - FD.io Packagecloud repository.
# Variables set:
# - REPO_URL - FD.io Packagecloud repository.
die "Get OS release failed."
}
die "Get OS release failed."
}
- repo_url_path="./VPP_REPO_URL"
+ repo_url_path="${CSIT_DIR}/VPP_REPO_URL"
if [ -e "${repo_url_path}" ]; then
REPO_URL="$(<${repo_url_path})" || {
die "Read repo URL from ${repo_url_path} failed."
if [ -e "${repo_url_path}" ]; then
REPO_URL="$(<${repo_url_path})" || {
die "Read repo URL from ${repo_url_path} failed."