bd1c2f888ade7c858368932da4f50a51ebe8ec20
[ci-management.git] / jjb / csit / include-raw-csit-ligato-perf-hw.sh
1 #!/bin/bash
2
3 export TEST_TAG="PERFTEST_${TYPE^^}"
4
5 # execute csit bootstrap script if it exists
6 if [ ! -e bootstrap-verify-perf-ligato.sh ]
7 then
8     echo 'ERROR: No bootstrap-verify-perf-ligato.sh found'
9     exit 1
10 fi
11
12 # make sure that bootstrap-verify-perf-ligato.sh is executable
13 chmod +x bootstrap-verify-perf-ligato.sh
14
15 # get commit ID from name of stable ver
16 VPP_BUILD_COMMIT="$( expr match `cat VPP_STABLE_VER_UBUNTU` '.*g\(.*\)~.*' )"
17
18 # run the script
19 ./bootstrap-verify-perf-ligato.sh ${VPP_BUILD_COMMIT}
20
21 # vim: ts=4 ts=4 sts=4 et :