2021-10-27 13:43:21 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
DIR=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
|
2022-05-13 13:31:37 -04:00
|
|
|
source "${DIR}/../utils/includes/terminal_colors.sh"
|
|
|
|
|
|
|
|
if [ ! -d "${DIR}/../artifacts" ] || [ ! -f "${DIR}/../artifacts/vinyldns-api.jar" ]; then
|
|
|
|
echo -e "${F_YELLOW}Warning:${F_RESET} you might want to run 'build/assemble_api.sh' first to improve performance"
|
|
|
|
fi
|
2021-10-27 13:43:21 -04:00
|
|
|
|
2021-12-03 16:21:37 -05:00
|
|
|
cd "${DIR}/../test/api/integration"
|
|
|
|
make build && make run DOCKER_PARAMS="-v \"$(pwd)/../../../target:/build/target\"" WITH_ARGS="bash -c \"sbt ';validate' && sbt ';verify'\""
|