nuke/test/nginx-external-auth/start.sh
fucksophie 02b9aebbe5
Some checks failed
Docker image builds / build (push) Failing after 4m22s
NUKE
2026-02-07 14:27:38 +02:00

23 lines
384 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
# Build container image
(
cd ../.. &&
npm ci &&
npm run container -- \
--docker-repo git.sad.ovh/sophie/nuke \
--docker-tags git.sad.ovh/sophie/nuke: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