This package is not needed for csit enymore.
Change-Id: Ie32a9c9322873e66554bb69112d4428697c866db
Signed-off-by: Jan Gelety <jgelety@cisco.com>
+++ /dev/null
-19.01-2
\ No newline at end of file
echo ${arr[0]}
else
# Download the specific VPP build install packages
echo ${arr[0]}
else
# Download the specific VPP build install packages
- DKMS_VERSION=$(< ${SCRIPT_DIR}/DPDK_STABLE_VER)
VPP_VERSION=$(< ${SCRIPT_DIR}/VPP_STABLE_VER_${DISTRO})
CSIT_DIR=${SCRIPT_DIR}
source "${SCRIPT_DIR}/resources/libraries/bash/function/artifacts.sh"
VPP_VERSION=$(< ${SCRIPT_DIR}/VPP_STABLE_VER_${DISTRO})
CSIT_DIR=${SCRIPT_DIR}
source "${SCRIPT_DIR}/resources/libraries/bash/function/artifacts.sh"
echo ${arr[0]}
SKIP_PATCH="skip_patchORskip_vpp_patch"
else
echo ${arr[0]}
SKIP_PATCH="skip_patchORskip_vpp_patch"
else
- DKMS_VERSION=$(< ${SCRIPT_DIR}/DPDK_STABLE_VER)
VPP_VERSION=$(< ${SCRIPT_DIR}/VPP_STABLE_VER_${DISTRO})
CSIT_DIR=${SCRIPT_DIR}
source "${SCRIPT_DIR}/resources/libraries/bash/function/artifacts.sh"
VPP_VERSION=$(< ${SCRIPT_DIR}/VPP_STABLE_VER_${DISTRO})
CSIT_DIR=${SCRIPT_DIR}
source "${SCRIPT_DIR}/resources/libraries/bash/function/artifacts.sh"
# Variables read:
# - REPO_URL - FD.io Packagecloud repository.
# - VPP_VERSION - VPP version.
# Variables read:
# - REPO_URL - FD.io Packagecloud repository.
# - VPP_VERSION - VPP version.
- # - DKMS_VERSION - DKMS version.
# - INSTALL - If install packages or download only. Default: download
set -exuo pipefail
# - INSTALL - If install packages or download only. Default: download
set -exuo pipefail
else
artifacts+=(${vpp[@]/%/=${VPP_VERSION-}})
fi
else
artifacts+=(${vpp[@]/%/=${VPP_VERSION-}})
fi
- dkms=(vpp-ext-deps)
- if [ -z "${DKMS_VERSION-}" ]; then
- artifacts+=(${dkms[@]})
- else
- artifacts+=(${dkms[@]/%/=${DKMS_VERSION-}})
- fi
if [ "${INSTALL:-false}" = true ]; then
sudo apt-get -y install "${artifacts[@]}" || {
if [ "${INSTALL:-false}" = true ]; then
sudo apt-get -y install "${artifacts[@]}" || {
warn "Downloading latest VPP packages from Packagecloud."
else
warn "Downloading stable VPP packages from Packagecloud."
warn "Downloading latest VPP packages from Packagecloud."
else
warn "Downloading stable VPP packages from Packagecloud."
- DKMS_VERSION="$(<"${CSIT_DIR}/DPDK_STABLE_VER")" || {
- die "Read DPDK stable version failed."
- }
VPP_VERSION="$(<"${CSIT_DIR}/VPP_STABLE_VER_UBUNTU")" || {
die "Read VPP stable version failed."
}
VPP_VERSION="$(<"${CSIT_DIR}/VPP_STABLE_VER_UBUNTU")" || {
die "Read VPP stable version failed."
}
# then for its parent commit. On Jenkins, no dpdk is installed at first,
# locally it might have been installed. New dpdk is installed second call.
# If make detects installed vpp-ext-deps with matching version,
# then for its parent commit. On Jenkins, no dpdk is installed at first,
# locally it might have been installed. New dpdk is installed second call.
# If make detects installed vpp-ext-deps with matching version,
- # it skips building vpp-ext-deps entirely, but we need that file.
+ # it skips building vpp-ext-deps entirely.
# On the other hand, if parent uses different dpdk version,
# On the other hand, if parent uses different dpdk version,
- # The new vpp-ext-deps is built, but the old one is not removed
+ # the new vpp-ext-deps is built, but the old one is not removed
# from the build directory if present. (Further functions move both,
# and during test dpkg would decide randomly which version gets installed.)
# As per_patch is too dumb (yet) to detect any of that,
# from the build directory if present. (Further functions move both,
# and during test dpkg would decide randomly which version gets installed.)
# As per_patch is too dumb (yet) to detect any of that,
die "Make install-ext-deps failed."
}
build-root/vagrant/"build.sh" || die "Vagrant VPP build script failed."
die "Make install-ext-deps failed."
}
build-root/vagrant/"build.sh" || die "Vagrant VPP build script failed."
- # CSIT also needs the external dependency artifacts, which is not in
- # build-root.
- mv -v "build/external/vpp-ext-deps"*".deb" "build-root"/ || {
- die "*.deb move failed."
- }
echo "*******************************************************************"
echo "* VPP ${1-} BUILD SUCCESSFULLY COMPLETED" || {
die "Argument not found."
echo "*******************************************************************"
echo "* VPP ${1-} BUILD SUCCESSFULLY COMPLETED" || {
die "Argument not found."
| | @{vpp_rpm_pkgs}= | Create List | vpp | vpp-devel | vpp-lib | vpp-plugins
| | Set Global Variable | ${vpp_rpm_pkgs}
| | @{vpp_deb_pkgs}= | Create List | vpp | vpp-dbg | vpp-dev | vpp-lib
| | @{vpp_rpm_pkgs}= | Create List | vpp | vpp-devel | vpp-lib | vpp-plugins
| | Set Global Variable | ${vpp_rpm_pkgs}
| | @{vpp_deb_pkgs}= | Create List | vpp | vpp-dbg | vpp-dev | vpp-lib
-| | ... | vpp-plugins | vpp-ext-deps
| | Set Global Variable | ${vpp_deb_pkgs}
| | Set Global Variable | ${vpp_deb_pkgs}