| #!/usr/bin/env bash | |
| # | |
| # Outer wrapper for invoking test.sh with config-next inside docker-compose. | |
| # | |
| set -o errexit | |
| if type realpath >/dev/null 2>&1 ; then | |
| cd "$(realpath -- $(dirname -- "$0"))" | |
| fi | |
| # Generate the test keys and certs necessary for the integration tests. | |
| docker compose run bsetup | |
| # Use a predictable name for the container so we can grab the logs later | |
| # for use when testing logs analysis tools. | |
| docker rm boulder_tests || true | |
| exec docker compose -f docker-compose.yml -f docker-compose.next.yml run boulder ./test.sh "$@" |