summaryrefslogtreecommitdiffstats
path: root/jjb/csit/include-raw-csit-hc2vpp-verify-func.sh
blob: d81c09c9b1ee12cf8a835c4e4ebdc73de47b8ff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

# execute csit bootstrap script if it exists
if [ ! -e bootstrap-hc2vpp-integration.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.sh
    # run the script
    if [ ${STREAM} == 'master' ]; then
        ./bootstrap-hc2vpp-integration.sh ${STREAM} ${OS}
    else
        ./bootstrap-hc2vpp-integration.sh 'stable.'${STREAM} ${OS}
    fi
fi

# vim: ts=4 ts=4 sts=4 et :