2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-22 02:02:14 +00:00
vinyldns/build/prepare_release.sh
Emerle, Ryan b143e975a7
Updates
- Move quickstart from `utils` to `quickstart`
- Update quickstart script to add more container manipulation
- Move API functional tests back under `modules/api`
- Move build-related scripts to `build/` directory
- Add quickstart containers that can run the local version of the code
2021-10-27 13:43:21 -04:00

28 lines
763 B
Bash

#!/usr/bin/env bash
set -euo pipefail
DIR=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
source "${DIR}/../utils/includes/terminal_colors.sh"
if [ ! -d "${DIR}/../assembly" ] || [ ! -f "${DIR}/../assembly/vinyldns.jar" ]; then
echo -e "${F_YELLOW}Warning:${F_RESET} you might want to run 'build/assemble_api_jar.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