Add explict allow deny commands.
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user