chore: fix name of backoff-retry, expose in devcontainer

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso 2025-07-18 17:51:13 +00:00
parent 1a9d8fb0cf
commit d6298adc6d
No known key found for this signature in database
3 changed files with 15 additions and 4 deletions

View File

@ -2,10 +2,12 @@
// README at: https://github.com/devcontainers/templates/tree/main/src/debian // README at: https://github.com/devcontainers/templates/tree/main/src/debian
{ {
"name": "Dev", "name": "Dev",
"dockerComposeFile": ["./docker-compose.yaml"], "dockerComposeFile": [
"./docker-compose.yaml"
],
"service": "workspace", "service": "workspace",
"workspaceFolder": "/workspace/anubis", "workspaceFolder": "/workspace/anubis",
"postStartCommand": "npm ci && go mod download", "postStartCommand": "bash ./.devcontainer/poststart.sh",
"features": { "features": {
"ghcr.io/xe/devcontainer-features/ko:1.1.0": {}, "ghcr.io/xe/devcontainer-features/ko:1.1.0": {},
"ghcr.io/devcontainers/features/github-cli:1": {} "ghcr.io/devcontainers/features/github-cli:1": {}
@ -23,4 +25,4 @@
] ]
} }
} }
} }

View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
pwd
npm ci &
go mod download &
go install ./utils/cmd/... &
wait

View File

@ -20,4 +20,4 @@ go tool anubis \
--use-remote-address \ --use-remote-address \
--target=unix://$(pwd)/unixhttpd.sock & --target=unix://$(pwd)/unixhttpd.sock &
go run ../cmd/backoff-retry node ./test.mjs backoff-retry node ./test.mjs