Use vpp 20.01-release pacakges 53/24653/4
authorJan Gelety <jgelety@cisco.com>
Sun, 19 Jan 2020 23:13:23 +0000 (00:13 +0100)
committerJan Gelety <jgelety@cisco.com>
Mon, 20 Jan 2020 01:31:21 +0000 (02:31 +0100)
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Change-Id: Ibd1b78fd5bb9424564f27497a19176527c604be4

VPP_REPO_URL
VPP_STABLE_VER_CENTOS
VPP_STABLE_VER_UBUNTU_BIONIC
resources/libraries/bash/function/artifacts.sh

index 2d0237d..dd85a09 100644 (file)
@@ -1 +1 @@
-https://packagecloud.io/install/repositories/fdio/2001
+https://packagecloud.io/install/repositories/fdio/release
index 8454b7e..0da4ea1 100644 (file)
@@ -1 +1 @@
-20.01-rc2~3_g9af7a98~b8
+20.01-release
index 7a6573d..0da4ea1 100644 (file)
@@ -1 +1 @@
-20.01-rc2~3-g9af7a98cf
+20.01-release
index 35fade9..f51d535 100644 (file)
@@ -104,11 +104,14 @@ function download_ubuntu_artifacts () {
     set +x
     for package in ${packages}; do
         # Filter packages with given version
-        pkg_info=$(apt-cache show ${package}) || {
-            die "apt-cache show on ${package} failed."
-        }
-        ver=$(echo ${pkg_info} | grep -o "Version: ${VPP_VERSION-}[^ ]*" | \
-              head -1) || true
+        # Workaround for corrupted fdio_release.list
+        if [[ "${package}" != "-dev" ]]; then
+            pkg_info=$(apt-cache show ${package}) || {
+                die "apt-cache show on ${package} failed."
+            }
+            ver=$(echo ${pkg_info} | grep -o "Version: ${VPP_VERSION-}[^ ]*" | \
+                  head -1) || true
+        fi
         if [ -n "${ver-}" ]; then
             echo "Found '${VPP_VERSION-}' among '${package}' versions."
             ver=$(echo "$ver" | cut -d " " -f 2)