#!/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