mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-05-17 20:09:55 +00:00
test(robost_txt): make tekton specific test execution flow
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
@@ -4,4 +4,20 @@ set -euo pipefail
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
exec ./test.sh
|
||||
function cleanup() {
|
||||
pkill -P $$
|
||||
}
|
||||
|
||||
trap cleanup EXIT SIGINT
|
||||
|
||||
go tool anubis --help 2>/dev/null || :
|
||||
|
||||
go run ../cmd/unixhttpd &
|
||||
|
||||
go tool anubis \
|
||||
--policy-fname ./anubis.yaml \
|
||||
--use-remote-address \
|
||||
--serve-robots-txt \
|
||||
--target=unix://$(pwd)/unixhttpd.sock &
|
||||
|
||||
go tool backoff-retry node ./test.mjs
|
||||
|
||||
Reference in New Issue
Block a user