Skip to content

Commit

Permalink
chore: allow env var to change specs tested
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtPooki committed Mar 11, 2024
1 parent f5f566d commit bbb2a9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .env-gwc
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ USE_DELEGATED_ROUTING=true
# Uncomment the below to see request & response headers in the logs
# ECHO_HEADERS=true
GWC_DOCKER_IMAGE=ghcr.io/ipfs/gateway-conformance:v0.5.0
#GWC_SPECS="subdomain-ipns-gateway,subdomain-ipfs-gateway"
GWC_SPECS="subdomain-ipfs-gateway"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"test:gwc-kubo": "node ./scripts/kubo-init.js",
"test:gwc-helia": "npm run build && node -r dotenv/config --trace-warnings dist/src/index.js dotenv_config_path=./.env-gwc",
"test:gwc-setup": "concurrently -k -s all -n \"kubo,helia\" -c \"magenta,blue\" \"npm run test:gwc-kubo\" \"wait-on 'tcp:8080' && npm run test:gwc-helia\"",
"test:gwc-execute": "docker run --network host -v $PWD:/workspace -w /workspace $GWC_DOCKER_IMAGE test --gateway-url='http://localhost:8090' --subdomain-url='http://localhost:8090' --verbose --json gwc-report.json --specs subdomain-ipns-gateway,subdomain-ipfs-gateway -- -timeout 30m",
"test:gwc-execute": "docker run --network host -v $PWD:/workspace -w /workspace $GWC_DOCKER_IMAGE test --gateway-url='http://localhost:8090' --subdomain-url='http://localhost:8090' --verbose --json gwc-report.json --specs ${GWC_SPECS} -- -timeout 30m",
"test:gwc": "concurrently -k -s all -n \"kubo&helia,gateway-conformance\" -c \"magenta,blue\" \"npm run test:gwc-setup\" \"wait-on 'tcp:8090' && npm run test:gwc-execute\"",
"healthcheck": "node dist/src/healthcheck.js",
"debug:until-death": "./debugging/until-death.sh",
Expand Down

0 comments on commit bbb2a9f

Please sign in to comment.