CSIT-378: Use package classifier to download deb packages from Nexus 51/2451/3
authorJan Gelety <jgelety@cisco.com>
Mon, 22 Aug 2016 11:58:48 +0000 (13:58 +0200)
committerDave Wallace <dwallacelf@gmail.com>
Mon, 22 Aug 2016 14:09:33 +0000 (14:09 +0000)
Based on https://gerrit.fd.io/r/#/c/2426/ it is necessary to use
classifier to download release deb packages from Nexus.

Change-Id: Ifa03acb15e66ba6bf2d376fa1c294f7a77168ebe
Signed-off-by: Jan Gelety <jgelety@cisco.com>
resources/tools/download_install_vpp_pkgs.sh

index 713f05a..cb1f692 100755 (executable)
@@ -24,10 +24,11 @@ REPO="fd.io.master.ubuntu.trusty.main"
 GROUP="io.fd.vpp"
 ARTIFACTS="vpp vpp-dbg vpp-dev vpp-dpdk-dev vpp-dpdk-dkms vpp-lib vpp-plugins"
 PACKAGE="deb deb.md5"
+CLASS="deb"
 
 for ART in ${ARTIFACTS}; do
     for PAC in $PACKAGE; do
-        curl "${URL}?r=${REPO}&g=${GROUP}&a=${ART}&p=${PAC}&v=${VER}" -O -J || exit
+        curl "${URL}?r=${REPO}&g=${GROUP}&a=${ART}&p=${PAC}&v=${VER}&c=${CLASS}" -O -J || exit
     done
 done
 

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.