Merge "VPP: drop yum from opensuse pkg discovery"
[ci-management.git] / jjb / scripts / setup_vpp_ubuntu_docker_test.sh
index 41c8dd6..d0140c1 100644 (file)
@@ -9,6 +9,24 @@
 ##############################################################################
 set -e -o pipefail
 
+OS_ID=$(grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
+
 if ! [ -z ${DOCKER_TEST} ] ; then
                mount -o remount /dev/shm -o size=512M || true
+        echo "/dev/shm remounted"
+fi
+
+if [ "${OS_ID}" == "ubuntu" ]; then
+    dpkg-query -W -f='${binary:Package}\t${Version}\n'
+    pip list
+elif [ "${OS_ID}" == "centos" ]; then
+    yum list installed
+    pip list
+elif [ "${OS_ID}" == "opensuse" ]; then
+    pip list
 fi
+if [ "x${IS_CSIT_VPP_JOB}" == "xTrue" ]; then
+       (cd dpdk ; apt-get download vpp-dpdk-dkms > /dev/null 2>&1) || true
+    ls -l dpdk/*.deb || true
+    echo "csit vpp-dpdk-dkms package download"
+fi
\ No newline at end of file