diff options
-rwxr-xr-x | scripts/docker-test.sh (renamed from test.sh) | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test.sh b/scripts/docker-test.sh index 6626437..1cba254 100755 --- a/test.sh +++ b/scripts/docker-test.sh @@ -1,5 +1,10 @@ #!/usr/bin/env bash +# A Docker-based test script. It builds the Docker image, starts the container, +# and then waits for the server to be ready. Once the server is ready, it +# makes a request to the server and then kills the container. A 200 response +# code is expected. + set -eux -o pipefail cleanup() { |