From d253c2d7fd9d9b91a174406fc459c8cdbbecbe48 Mon Sep 17 00:00:00 2001 From: Ed Kern Date: Wed, 21 Feb 2018 16:46:50 -0700 Subject: VPP: add container server detection Adding grep one-liner to detect server node where container build is happening since we may want that information long after the build happened Change-Id: Iad26c06ac659998f6ac1b3563660ca77eb817e55 Signed-off-by: Ed Kern --- jjb/scripts/setup_vpp_ubuntu_docker_test.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'jjb/scripts/setup_vpp_ubuntu_docker_test.sh') diff --git a/jjb/scripts/setup_vpp_ubuntu_docker_test.sh b/jjb/scripts/setup_vpp_ubuntu_docker_test.sh index 090913966..d7a2ee16f 100644 --- a/jjb/scripts/setup_vpp_ubuntu_docker_test.sh +++ b/jjb/scripts/setup_vpp_ubuntu_docker_test.sh @@ -16,6 +16,9 @@ if ! [ -z ${DOCKER_TEST} ] ; then echo "/dev/shm remounted" fi +##container server node detection +grep search /etc/resolv.conf || true + if [ "${OS_ID}" == "ubuntu" ]; then dpkg-query -W -f='${binary:Package}\t${Version}\n' || true pip list || true @@ -26,6 +29,7 @@ elif [ "${OS_ID}" == "opensuse" ]; then yum list installed || true pip list || true 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 -- cgit 1.2.3-korg