diff options
author | Jan Gelety <jgelety@cisco.com> | 2017-01-24 13:41:23 +0100 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2017-01-24 15:38:52 +0000 |
commit | e507c9603efd1a9377ff835d108e51ddb9a0b5c3 (patch) | |
tree | 048ba7a4e17cacce697b2ce4d47625b23f519b60 /bootstrap-vpp-verify-weekly.sh | |
parent | 982e81efab69bc007455481b6425fcebc7213906 (diff) |
Correction of dpdk packages download when vpp deb packages provided
Change-Id: I7cefd0797103e5062eb48df95ad2e48cdddc19b6
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'bootstrap-vpp-verify-weekly.sh')
-rw-r--r-- | bootstrap-vpp-verify-weekly.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bootstrap-vpp-verify-weekly.sh b/bootstrap-vpp-verify-weekly.sh index c2917beb7b..d9749d5eb1 100644 --- a/bootstrap-vpp-verify-weekly.sh +++ b/bootstrap-vpp-verify-weekly.sh @@ -106,22 +106,22 @@ do fi done -# Temporarily download VPP packages from nexus.fd.io +# Temporarily download VPP and DPDK packages from nexus.fd.io SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +DPDK_STABLE_VER=$(cat ${SCRIPT_DIR}/DPDK_STABLE_VER) +VPP_REPO_URL=$(cat ${SCRIPT_DIR}/VPP_REPO_URL) +VPP_CLASSIFIER="-deb" + if [ "${#}" -ne "0" ]; then arr=(${@}) echo ${arr[0]} # DPDK is not part of the vpp build - DPDK_STABLE_VER=$(cat ${SCRIPT_DIR}/DPDK_STABLE_VER) wget -q "${VPP_REPO_URL}/vpp-dpdk-dev/${DPDK_STABLE_VER}/vpp-dpdk-dev-${DPDK_STABLE_VER}${VPP_CLASSIFIER}.deb" || exit wget -q "${VPP_REPO_URL}/vpp-dpdk-dkms/${DPDK_STABLE_VER}/vpp-dpdk-dkms-${DPDK_STABLE_VER}${VPP_CLASSIFIER}.deb" || exit else rm -f *.deb - DPDK_STABLE_VER=$(cat ${SCRIPT_DIR}/DPDK_STABLE_VER) VPP_STABLE_VER=$(cat ${SCRIPT_DIR}/VPP_STABLE_VER) - VPP_REPO_URL=$(cat ${SCRIPT_DIR}/VPP_REPO_URL) - VPP_CLASSIFIER="-deb" wget -q "${VPP_REPO_URL}/vpp/${VPP_STABLE_VER}/vpp-${VPP_STABLE_VER}${VPP_CLASSIFIER}.deb" || exit wget -q "${VPP_REPO_URL}/vpp-dbg/${VPP_STABLE_VER}/vpp-dbg-${VPP_STABLE_VER}${VPP_CLASSIFIER}.deb" || exit wget -q "${VPP_REPO_URL}/vpp-dev/${VPP_STABLE_VER}/vpp-dev-${VPP_STABLE_VER}${VPP_CLASSIFIER}.deb" || exit |