mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-05-17 12:03:09 +00:00
test: add i18n to tekton pipeline
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
@@ -175,6 +175,7 @@ spec:
|
|||||||
- name: test-case
|
- name: test-case
|
||||||
value:
|
value:
|
||||||
- default-config-macro
|
- default-config-macro
|
||||||
|
- i18n
|
||||||
- robots_txt
|
- robots_txt
|
||||||
taskSpec:
|
taskSpec:
|
||||||
params:
|
params:
|
||||||
|
|||||||
Executable
+20
@@ -0,0 +1,20 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
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 \
|
||||||
|
--target=unix://$(pwd)/unixhttpd.sock &
|
||||||
|
|
||||||
|
backoff-retry node ./test.mjs
|
||||||
Reference in New Issue
Block a user