summaryrefslogtreecommitdiffstats
path: root/jjb/vsap/include-raw-vsap-build.sh
blob: 0f1c6d5d4ce494e2db24130078891d40629df11c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
# vsap build script
set -xe -o pipefail

# container server node detection
grep search /etc/resolv.conf  || true

OS_ID=$(grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
OS_VERSION_ID=$(grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')

echo OS_ID: $OS_ID
echo OS_VERSION_ID: $OS_VERSION_ID

echo "Building using \"make deb-${MODE} openssl3_enable=1 vpp=${STREAM}\""

make deb-${MODE} openssl3_enable=1 vpp=${STREAM}
make verify-${MODE} openssl3_enable=1

echo "*******************************************************************"
echo "* VSAP ${MODE} ${STREAM} BUILD SUCCESSFULLY COMPLETED"
echo "*******************************************************************"