Add explict allow deny commands.

This commit is contained in:
Greyson Parrelli
2026-08-06 10:45:45 -04:00
parent a3f0f8a1be
commit c15a1cc14c
15 changed files with 566 additions and 13 deletions
+6 -2
View File
@@ -24,16 +24,20 @@ run = 'test -z "$(gofmt -l .)" || (gofmt -l . && exit 1)'
[tasks.shellcheck]
description = "Lint all plugin shell scripts"
run = "shellcheck -x functions commands install nginx-pre-reload core-post-deploy post-delete post-app-rename post-app-clone subcommands/* test/nginx-conf-test.sh"
run = "shellcheck -x functions commands install nginx-pre-reload core-post-deploy post-delete post-app-rename post-app-clone subcommands/* test/*.sh"
[tasks.test-nginx-conf]
description = "Generate an nginx config from a fake app and validate it with real nginx (docker)"
run = "test/nginx-conf-test.sh"
[tasks.test-access-lists]
description = "Exercise the allow/deny list commands against a fake dokku layout"
run = "test/access-list-test.sh"
[tasks.docker-build]
description = "Build the auth service docker image"
run = "docker build -t dokku-google-auth:latest ."
[tasks.check]
description = "Run everything CI would run"
depends = ["fmt-check", "vet", "test", "shellcheck", "test-nginx-conf"]
depends = ["fmt-check", "vet", "test", "shellcheck", "test-nginx-conf", "test-access-lists"]