Files
anubis-mirror/test/nginx-external-auth/start.sh
2025-10-29 14:36:06 -04: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