diff options
Diffstat (limited to 'jjb/hc2vpp/include-raw-hc2vpp-csit-integration-odl.sh')
-rw-r--r-- | jjb/hc2vpp/include-raw-hc2vpp-csit-integration-odl.sh | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/jjb/hc2vpp/include-raw-hc2vpp-csit-integration-odl.sh b/jjb/hc2vpp/include-raw-hc2vpp-csit-integration-odl.sh deleted file mode 100644 index d21d19343..000000000 --- a/jjb/hc2vpp/include-raw-hc2vpp-csit-integration-odl.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash -set -xeu -o pipefail - -# Get CSIT branch -if [[ -f csit-test-branch ]]; then - chmod +x csit-test-branch - CSIT_BRANCH=`./csit-test-branch` -else - CSIT_BRANCH='master' -fi - -# Clone csit -git clone https://gerrit.fd.io/r/csit --branch ${CSIT_BRANCH} - -# If the git clone fails, complain clearly and exit -if [[ $? != 0 ]]; then - echo "Failed to run: git clone https://gerrit.fd.io/r/csit --branch ${CSIT_BRANCH}" - exit 1 -fi - -cd csit -# execute csit bootstrap script if it exists -if [[ ! -e bootstrap-hc2vpp-integration-odl.sh ]] -then - echo 'ERROR: No bootstrap-hc2vpp-integration.sh found' - exit 1 -else - # make sure that bootstrap.sh is executable - chmod +x bootstrap-hc2vpp-integration-odl.sh - # run the script - ./bootstrap-hc2vpp-integration-odl.sh ${STREAM} ${OS} ${ODL} -fi - -# vim: ts=4 ts=4 sts=4 et : |