summaryrefslogtreecommitdiffstats
path: root/jjb/csit/include-raw-csit-nsh_sfc-functional-virl.sh
blob: 2f22a9842b58ed8b69436b613e5b625de5fc7bf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
set -xeu -o pipefail

# execute nsh_sfc bootstrap script if it exists
if [ -e bootstrap-nsh_sfc-functional-virl.sh ]
then
    # make sure that bootstrap-nsh_sfc-functional-virl.sh is executable
    chmod +x bootstrap-nsh_sfc-functional-virl.sh
    # run the script
    if [ ${STREAM} == 'master' ]; then
        ./bootstrap-nsh_sfc-functional-virl.sh ${STREAM} ${OS}
    else
        ./bootstrap-nsh_sfc-functional-virl.sh 'stable.'${STREAM} ${OS}
    fi
else
    echo 'ERROR: No bootstrap-nsh_sfc-functional-virl.sh found'
    exit 1
fi

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