Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update Honeycomb tests
[csit.git]
/
resources
/
tools
/
download_install_vpp_pkgs.sh
diff --git
a/resources/tools/download_install_vpp_pkgs.sh
b/resources/tools/download_install_vpp_pkgs.sh
index
0d95e75
..
20a1ae4
100755
(executable)
--- a/
resources/tools/download_install_vpp_pkgs.sh
+++ b/
resources/tools/download_install_vpp_pkgs.sh
@@
-1,4
+1,4
@@
-#!/bin/sh
+#!/bin/
ba
sh
# Copyright (c) 2016 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# Copyright (c) 2016 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
@@
-13,11
+13,14
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-set -x
+set -ex
+
+trap 'rm -f *.deb.md5; exit' EXIT
+trap 'rm -f *.deb.md5;rm -f *.deb; exit' ERR
URL="https://nexus.fd.io/service/local/artifact/maven/content"
VER="RELEASE"
URL="https://nexus.fd.io/service/local/artifact/maven/content"
VER="RELEASE"
-REPO="fd.io.
dev
"
+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"
PACKAGE="deb deb.md5"
GROUP="io.fd.vpp"
ARTIFACTS="vpp vpp-dbg vpp-dev vpp-dpdk-dev vpp-dpdk-dkms vpp-lib"
PACKAGE="deb deb.md5"
@@
-36,5
+39,9
@@
for MD5FILE in *.md5; do
md5sum -c ${MD5FILE} || exit
done
md5sum -c ${MD5FILE} || exit
done
-echo sudo dpkg -i *.deb
-
+if [ "$1" != "--skip-install" ]; then
+ echo Installing VPP
+ sudo dpkg -i *.deb
+else
+ echo VPP Installation skipped
+fi