Add success
and fail
scripts
Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
parent
3a58f3918b
commit
3423ca6d54
2 changed files with 21 additions and 0 deletions
9
go-api/success
Executable file
9
go-api/success
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
source .env
|
||||
|
||||
: "${API_PORT:=8000}"
|
||||
|
||||
curl --silent --show-error --verbose "http://localhost:$API_PORT"
|
Loading…
Add table
Add a link
Reference in a new issue