diff options
author | Raphael Kabo <raphaelkabo@hey.com> | 2023-05-12 22:56:21 +0100 |
---|---|---|
committer | Raphael Kabo <raphaelkabo@hey.com> | 2023-05-12 22:56:21 +0100 |
commit | 090a44df57cec84e460462f0ae2db7fb4f87a7e9 (patch) | |
tree | 9814a56b05c5944d03559f4946f3cc2c4d75bb1f | |
parent | 4e88ef2bf383091ff5f0da69c5e2dfb5d52a0f40 (diff) |
Rename and move old Docker test script
-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() { |