mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-22 18:17:07 +00:00
- Simplify build config - Add TTY check to Makefiles for running Docker containers - Update `fs2` to latest patch - Update `sbt-assembly` plugin - Update portal to remove chatty console - Update portal scripts to add license header - Update prepare-portal/Gruntfile to combine js and css where applicable - Remove unused gentelella files from final portal artifact - Add support for shared zones to quickstart/docker images - Consolidate built artifacts in `artifacts/` to make eventual release easier
28 lines
765 B
Bash
Executable File
28 lines
765 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
DIR=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
|
|
|
|
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
|
|
|
|
echo "Running unit and integration tests..."
|
|
if ! "${DIR}/verify.sh"; then
|
|
echo "Error running unit and integration tests."
|
|
exit 1
|
|
fi
|
|
|
|
echo "Running API functional tests..."
|
|
if ! "${DIR}/func-test-api.sh"; then
|
|
echo "Error running API functional tests"
|
|
exit 1
|
|
fi
|
|
|
|
echo "Running Portal functional tests..."
|
|
if ! "${DIR}/func-test-portal.sh"; then
|
|
echo "Error running Portal functional tests"
|
|
exit 1
|
|
fi
|