netbox-docker/hooks/test

16 lines
349 B
Bash
Executable File

#!/bin/bash
. hooks/common
# test on builds of 'branches'
if [ "${BUILD}" == "branches" ] \
|| [ "${DEBUG}" == "true" ]; then
./test.sh latest
./test.sh snapshot
# test on bulds of 'this' (i.e. pull request)
elif [ "${BUILD}" == "this" ]; then
./test.sh latest
else
echo "🐳🐳🐳 No tests are implemented for build '${BUILD}'."
fi