File size: 349 Bytes
5ffcd9d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env bash
set -euo pipefail

cd "$(dirname "$0")/.."

echo "== Compile Python =="
python -m compileall app

echo ""
echo "== Tests =="
python -m pytest -q

echo ""
echo "== Health check =="
curl -s http://127.0.0.1:8000/api/v1/health
echo ""

echo ""
echo "== Runtime config =="
curl -s http://127.0.0.1:8000/api/v1/runtime-config
echo ""