From 7d805fd6fd9e78ed9f80d2cc477b666e96509dc5 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Tue, 18 Jun 2024 17:03:13 +0200 Subject: [PATCH] chore: gateway-conformance v6 (#144) https://github.com/ipfs/gateway-conformance/releases/tag/v0.6.0 --- .github/workflows/gateway-conformance.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/gateway-conformance.yml b/.github/workflows/gateway-conformance.yml index 33df29e..74e9546 100644 --- a/.github/workflows/gateway-conformance.yml +++ b/.github/workflows/gateway-conformance.yml @@ -42,7 +42,7 @@ jobs: # 2. Download the gateway-conformance fixtures - name: Download gateway-conformance fixtures - uses: ipfs/gateway-conformance/.github/actions/extract-fixtures@v0.5.1 + uses: ipfs/gateway-conformance/.github/actions/extract-fixtures@v0.6 with: output: fixtures @@ -62,9 +62,7 @@ jobs: # Import dnslink records # the IPFS_NS_MAP env will be used by the daemon - export IPFS_NS_MAP=$(cat "./fixtures/dnslinks.json" | jq -r '.subdomains | to_entries | map("\(.key).example.com:\(.value)") | join(",")') - export IPFS_NS_MAP="$(cat "./fixtures/dnslinks.json" | jq -r '.domains | to_entries | map("\(.key):\(.value)") | join(",")'),${IPFS_NS_MAP}" - echo "IPFS_NS_MAP=${IPFS_NS_MAP}" >> $GITHUB_ENV + echo "IPFS_NS_MAP=$(cat ./fixtures/dnslinks.IPFS_NS_MAP)" >> $GITHUB_ENV - name: Start Kubo gateway uses: ipfs/start-ipfs-daemon-action@v1 @@ -128,13 +126,10 @@ jobs: # 6. Run the gateway-conformance tests - name: Run gateway-conformance tests - uses: ipfs/gateway-conformance/.github/actions/test@v0.5.1 + uses: ipfs/gateway-conformance/.github/actions/test@v0.6 with: gateway-url: http://127.0.0.1:8090 - json: output.json - xml: output.xml - html: output.html - markdown: output.md + subdomain-url: http://example.com:8090 specs: +trustless-gateway,+path-gateway,+subdomain-gateway,+dnslink-gateway,+redirects-file # use below to skip specific test if needed # args: -skip 'TestFooBr/GET_response_for_something' @@ -142,6 +137,10 @@ jobs: # only-if-cached: rainbow does not guarantee local cache, we will adjust upstream test (which was Kubo-specific) # for now disabling these test cases args: -skip 'TestGatewayCache/.*_with_only-if-cached_succeeds_when_in_local_datastore' + json: output.json + xml: output.xml + html: output.html + markdown: output.md # 7. Upload the results - name: Upload MD summary