diff options
author | selias <samelias@cisco.com> | 2017-01-30 10:56:45 +0100 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2017-02-02 08:40:50 +0000 |
commit | a1fe59f27868e5a17df212c321dc3e870732d85b (patch) | |
tree | a14ae871330c99aab672b7ac3fbe34909d5608d8 /bootstrap-hc2vpp-integration.sh | |
parent | b041a712e781b472f97f2e805beb82cfdc627146 (diff) |
HC Test: Test jobs for 17.01
- modify bootstrap and package download scripts to accept branch argument
Change-Id: I863fb88cfb72b3375d32fec0d191e06fc0ab85cd
Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'bootstrap-hc2vpp-integration.sh')
-rwxr-xr-x | bootstrap-hc2vpp-integration.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bootstrap-hc2vpp-integration.sh b/bootstrap-hc2vpp-integration.sh index d29d08e9dd..dd471f3107 100755 --- a/bootstrap-hc2vpp-integration.sh +++ b/bootstrap-hc2vpp-integration.sh @@ -34,6 +34,8 @@ VIRL_RELEASE=csit-ubuntu-14.04.4_2016-10-07_1.3 SSH_OPTIONS="-i ${VIRL_PKEY} -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o BatchMode=yes -o LogLevel=error" +STREAM=$1 + function ssh_do() { echo echo "### " ssh $@ @@ -108,9 +110,9 @@ done SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -# Download the latest VPP and HC .deb packages +# Download VPP and HC .deb packages from the current branch echo Downloading packages... -bash ${SCRIPT_DIR}/resources/tools/download_hc_pkgs.sh +bash ${SCRIPT_DIR}/resources/tools/download_hc_pkgs.sh ${STREAM} VPP_DEBS=(*.deb) echo ${VPP_DEBS[@]} |