first commit

This commit is contained in:
2026-04-29 20:45:00 -03:00
parent 0c4f67eb63
commit f613b58a8a
37 changed files with 1740 additions and 106 deletions

3
scripts/build_local.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/env bash
set -euo pipefail
docker build -t guardrails-api:local .

4
scripts/deploy_local.sh Normal file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
kubectl apply -k k8s
kubectl rollout status deployment/guardrails-api -n guardrails

4
scripts/test_local.sh Normal file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
export OPENAI_API_KEY=${OPENAI_API_KEY:-sk-fake}
pytest -v