diff options
author | Darius Kazemi <darius.kazemi@gmail.com> | 2020-01-12 18:15:11 -0800 |
---|---|---|
committer | Darius Kazemi <darius.kazemi@gmail.com> | 2020-01-12 18:15:11 -0800 |
commit | 312520c1e82874ba12004bb2b6c5dead4b270745 (patch) | |
tree | 1c45ac7a43aad7bfc57b4362e7c2b4b9dd446be5 /test.sh | |
parent | fa2ca34a5c8f0e10a902129caec36dea38eec13a (diff) | |
parent | 547054b9c1dfd9c49594609fdda78fac3c11938a (diff) |
Merge branch 'master' of github.com:lowercasename/gathio into newmaster
Diffstat (limited to 'test.sh')
-rwxr-xr-x | test.sh | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +set -eux -o pipefail + +cleanup() { + docker-compose kill +} +trap cleanup 0 + +docker-compose up --build & + +while [[ "$(curl -s -o /dev/null -w "%{http_code}" http://localhost:3000/)" -ne "200" ]]; do sleep 5; done +curl -v http://localhost:3000/new/event/public + +cleanup
\ No newline at end of file |