CSIT-359: adapt vpp download script for usage with 1609 branch too 00/2400/4
authorJan Gelety <jgelety@cisco.com>
Tue, 16 Aug 2016 13:25:23 +0000 (15:25 +0200)
committerPeter Mikus <pmikus@cisco.com>
Thu, 25 Aug 2016 07:30:34 +0000 (07:30 +0000)
- script downloads the latest vpp release from Nexus repository of the branch
  based on data in VPP_REPO_URL file stored in csit directory;
  default repo is fd.io.master.ubuntu.trusty.main

Change-Id: I254801d74fe2ef7f5e87e2c64f5619bef0709944
Signed-off-by: Jan Gelety <jgelety@cisco.com>

index cb1f692..6da3f86 100755 (executable)
@@ -20,7 +20,16 @@ trap 'rm -f *.deb.md5;rm -f *.deb; exit' ERR
+if [ -e "$VPP_REPO_URL_PATH" ]; then
+    REPO=$(echo ${VPP_REPO_URL#https://nexus.fd.io/content/repositories/})
+    REPO=$(echo ${REPO%/io/fd/vpp/})
+    REPO='fd.io.master.ubuntu.trusty.main'
 ARTIFACTS="vpp vpp-dbg vpp-dev vpp-dpdk-dev vpp-dpdk-dkms vpp-lib vpp-plugins"
 PACKAGE="deb deb.md5"

©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.