|
1 | 1 | # ENV vars recommended for running gateway-conformance tests
|
2 |
| -USE_LIBP2P=false |
3 |
| -USE_BITSWAP=true |
4 |
| -PORT=8090 # helia-http-gateway should be running here |
5 |
| -TRUSTLESS_GATEWAYS=http://127.0.0.1:8080 # Kubo should be running here |
6 |
| -DELEGATED_ROUTING_V1_HOST=http://127.0.0.1:8080 # Kubo should be running here |
7 |
| -DEBUG='helia-http-gateway*,*helia-fetch*,*helia:trustless-gateway-block-broker*' |
8 |
| -USE_TRUSTLESS_GATEWAYS=true |
9 |
| -USE_DELEGATED_ROUTING=true |
| 2 | +export USE_LIBP2P=true |
| 3 | +export USE_BITSWAP=true |
| 4 | +export USE_SUBDOMAINS=false |
| 5 | +export PORT="8080" # helia-http-gateway should be running here |
| 6 | +export KUBO_PORT="8081" # Kubo should be running here |
| 7 | +export TRUSTLESS_GATEWAYS="http://127.0.0.1:8081" # Kubo should be running here |
| 8 | +export DELEGATED_ROUTING_V1_HOST="http://127.0.0.1:8081" # Kubo should be running here |
| 9 | +# DEBUG='helia-http-gateway*,*helia-fetch*,*helia:trustless-gateway-block-broker*' |
| 10 | +export DEBUG='helia*,helia*:trace' |
| 11 | +export USE_TRUSTLESS_GATEWAYS=true |
| 12 | +export USE_DELEGATED_ROUTING=true |
10 | 13 |
|
11 | 14 | # Uncomment the two below to save blockstore and datastore to disk
|
12 | 15 | # FILE_DATASTORE_PATH=./data/datastore
|
13 | 16 | # FILE_BLOCKSTORE_PATH=./data/blockstore
|
14 | 17 |
|
15 | 18 | # Uncomment the below to see request & response headers in the logs
|
16 | 19 | # ECHO_HEADERS=true
|
| 20 | + |
| 21 | +export GWC_DOCKER_IMAGE=ghcr.io/ipfs/gateway-conformance:v0.5.0 |
| 22 | + |
| 23 | +# skip most of the tests |
| 24 | +export GWC_SKIP="^.*(TestNativeDag|TestPathing|TestPlainCodec|TestDagPbConversion|TestGatewayJsonCbor|TestCors|TestGatewayJSONCborAndIPNS|TestGatewayIPNSPath|TestRedirectCanonicalIPNS|TestGatewayCache|TestGatewaySubdomains|TestUnixFSDirectoryListingOnSubdomainGateway|TestRedirectsFileWithIfNoneMatchHeader|TestTar|TestRedirects|TestPathGatewayMiscellaneous|TestGatewayUnixFSFileRanges|TestGatewaySymlink|TestUnixFSDirectoryListing|TestGatewayBlock|IPNS|TestTrustless|TestSubdomainGatewayDNSLinkInlining).*$" |
| 25 | +export GWC_GATEWAY_URL="http://helia-http-gateway.localhost" |
| 26 | +# GWC_SUBDOMAIN_URL="http://helia-http-gateway.localhost" |
| 27 | +# GWC_GATEWAY_URL="http://127.0.0.1:8080" |
| 28 | +export GWC_GATEWAY_URL="http://host.docker.internal:8080" |
| 29 | +export GWC_SUBDOMAIN_URL="http://host.docker.internal:8080" |
0 commit comments