* test(nginx): fix tests to work in GHA Closes: #1371 Signed-off-by: Xe Iaso <me@xeiaso.net> * fix(test): does this work lol Signed-off-by: Xe Iaso <me@xeiaso.net> * fix(test): does this other thing work lol Signed-off-by: Xe Iaso <me@xeiaso.net> * fix(test): pki folder location Signed-off-by: Xe Iaso <me@xeiaso.net> --------- Signed-off-by: Xe Iaso <me@xeiaso.net> Signed-off-by: Jason Cameron <git@jasoncameron.dev> Co-authored-by: Jason Cameron <git@jasoncameron.dev>
17 lines
234 B
Bash
Executable file
17 lines
234 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
source ../lib/lib.sh
|
|
|
|
export KO_DOCKER_REPO=ko.local
|
|
|
|
set -euo pipefail
|
|
|
|
mint_cert mimi.techaro.lol
|
|
|
|
docker run --rm \
|
|
-v $PWD/conf/nginx:/etc/nginx:ro \
|
|
-v $PWD/pki:/techaro/pki:ro \
|
|
nginx \
|
|
nginx -t
|
|
|
|
exit 0
|