summaryrefslogtreecommitdiffstats
path: root/jjb/scripts/setup_vpp_ubuntu_docker_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/scripts/setup_vpp_ubuntu_docker_test.sh')
-rwxr-xr-x[-rw-r--r--]jjb/scripts/setup_vpp_ubuntu_docker_test.sh16
1 files changed, 1 insertions, 15 deletions
diff --git a/jjb/scripts/setup_vpp_ubuntu_docker_test.sh b/jjb/scripts/setup_vpp_ubuntu_docker_test.sh
index 8ed0acae..548ac566 100644..100755
--- a/jjb/scripts/setup_vpp_ubuntu_docker_test.sh
+++ b/jjb/scripts/setup_vpp_ubuntu_docker_test.sh
@@ -1,7 +1,7 @@
#!/bin/bash
##############################################################################
-# Copyright (c) 2018 The Linux Foundation and others.
+# Copyright (c) 2021 The Linux Foundation and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
@@ -30,17 +30,3 @@ if [ -n ${DOCKER_TEST} ] ; then
sudo mount -o remount /dev/shm -o size=${MEM} || true
echo "/dev/shm remounted with size='${MEM}'"
fi
-
-# This will remove any previously installed external packages
-# for old branch builds
-if [ "${GERRIT_BRANCH}" != "master" ]; then
- echo "Removing $OS_ID-$OS_VERSION_ID package 'vpp-ext-deps'"
- if [ "${OS_ID,,}" == "ubuntu" ] || [ "${OS_ID,,}" == "debian" ] ; then
- sudo apt-get -y remove vpp-ext-deps || true
- elif [ "${OS_ID,,}" == "centos" ]; then
- sudo yum -y erase vpp-ext-deps || true
- sudo yum clean all || true
- else
- echo "ERROR: Unsupported OS '$OS_ID'!"
- fi
-fi