Files
masyunis/test/nginx-external-auth/start.sh
T
2026-05-01 13:50:38 +00:00

24 lines
380 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
# Build container image
(
cd ../.. &&
npm ci &&
npm run container -- \
--docker-repo ttl.sh/techaro/anubis \
--docker-tags ttl.sh/techaro/anubis:latest
)
kubectl apply -k .
echo "open https://nginx.local.cetacean.club, press control c when done"
control_c() {
kubectl delete -k .
exit
}
trap control_c SIGINT
sleep infinity