2 # basic build script example
5 ##container server node detection
6 grep search /etc/resolv.conf || true
8 OS_ID=$(grep '^ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
9 OS_VERSION_ID=$(grep '^VERSION_ID=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g')
12 echo OS_VERSION_ID: $OS_VERSION_ID
14 echo "Building using \"make build-root/build.sh\""
15 [ "x${DRYRUN}" == "xTrue" ] || make UNATTENDED=yes install-test-extra
16 [ "x${DRYRUN}" == "xTrue" ] || make build-scvpp
17 [ "x${DRYRUN}" == "xTrue" ] || make build-plugins
18 [ "x${DRYRUN}" == "xTrue" ] || useradd user
19 [ "x${DRYRUN}" == "xTrue" ] || bash -c "echo -e \"user\nuser\" | passwd user"
20 [ "x${DRYRUN}" == "xTrue" ] || make UNATTENDED=yes test-plugins
22 echo "*******************************************************************"
23 echo "* SWEETCOMB TEST SUCCESSFULLY COMPLETED"
24 echo "*******************************************************************"