@cryptotaxi247 / kubo / commits / 40476501e

feat: update conformance to v0.2

Laurent Senta committed Jun 27, 2023 at 13:00 UTC 40476501e9ac7f16fa45e5c8e41e06822473a0dd
1 file changed +5 -3
.github/workflows/gateway-conformance.yml
+5 -3
@@ -23,7 +23,7 @@ jobs:
23 steps:
24 # 1. Download the gateway-conformance fixtures
25 - name: Download gateway-conformance fixtures
26 - uses: ipfs/gateway-conformance/.github/actions/extract-fixtures@v0.1
26 + uses: ipfs/gateway-conformance/.github/actions/extract-fixtures@v0.2
27 with:
28 output: fixtures
29
@@ -47,6 +47,7 @@ jobs:
47 {
48 "example.com": {
49 "UseSubdomains": true,
50 + "InlineDNSLink": true,
51 "Paths": ["/ipfs", "/ipns"]
52 },
53 "localhost": {
@@ -76,7 +77,8 @@ jobs:
77
78 # Import dnslink records
79 # the IPFS_NS_MAP env will be used by the daemon
79 - export IPFS_NS_MAP=$(cat ./fixtures/dnslinks.json | jq -r 'to_entries | map("\(.key).example.com:\(.value)") | join(",")')
80 + export IPFS_NS_MAP=$(cat "./fixtures/dnslinks.json" | jq -r '.subdomains | to_entries | map("\(.key).example.com:\(.value)") | join(",")')
81 + export IPFS_NS_MAP="$(cat "./fixtures/dnslinks.json" | jq -r '.domains | to_entries | map("\(.key):\(.value)") | join(",")'),${IPFS_NS_MAP}"
82 echo "IPFS_NS_MAP=${IPFS_NS_MAP}" >> $GITHUB_ENV
83
84 # 5. Start the kubo-gateway
@@ -87,7 +89,7 @@ jobs:
89
90 # 6. Run the gateway-conformance tests
91 - name: Run gateway-conformance tests
90 - uses: ipfs/gateway-conformance/.github/actions/test@v0.1
92 + uses: ipfs/gateway-conformance/.github/actions/test@v0.2
93 with:
94 gateway-url: http://127.0.0.1:8080
95 json: output.json