chore: gateway-conformance v6 (#10441)
https://github.com/ipfs/gateway-conformance/releases/tag/v0.6.0
Marcin Rataj committed
Jun 18, 2024 at 21:06 UTC
e9fbc287ab0dc77729279ea07955c8529466dda3
1 file changed
+8
-9
.github/workflows/gateway-conformance.yml
+8
-9
@@ -41,7 +41,7 @@ jobs:
41
steps:
42
# 1. Download the gateway-conformance fixtures
43
- name: Download gateway-conformance fixtures
44
- uses: ipfs/gateway-conformance/.github/actions/extract-fixtures@v0.5
44
+ uses: ipfs/gateway-conformance/.github/actions/extract-fixtures@v0.6
45
with:
46
output: fixtures
47
@@ -84,9 +84,7 @@ jobs:
84
85
# Import dnslink records
86
# the IPFS_NS_MAP env will be used by the daemon
87
- export IPFS_NS_MAP=$(cat "./fixtures/dnslinks.json" | jq -r '.subdomains | to_entries | map("\(.key).example.com:\(.value)") | join(",")')
88
- export IPFS_NS_MAP="$(cat "./fixtures/dnslinks.json" | jq -r '.domains | to_entries | map("\(.key):\(.value)") | join(",")'),${IPFS_NS_MAP}"
89
- echo "IPFS_NS_MAP=${IPFS_NS_MAP}" >> $GITHUB_ENV
87
+ echo "IPFS_NS_MAP=$(cat ./fixtures/dnslinks.IPFS_NS_MAP)" >> $GITHUB_ENV
88
89
# 5. Start the kubo-gateway
90
- name: Start kubo-gateway
@@ -96,14 +94,15 @@ jobs:
94
95
# 6. Run the gateway-conformance tests
96
- name: Run gateway-conformance tests
99
- uses: ipfs/gateway-conformance/.github/actions/test@v0.5
97
+ uses: ipfs/gateway-conformance/.github/actions/test@v0.6
98
with:
99
gateway-url: http://127.0.0.1:8080
100
+ subdomain-url: http://localhost:8080
101
+ args: -skip 'TestGatewayCar/GET_response_for_application/vnd.ipld.car/Header_Content-Length'
102
json: output.json
103
xml: output.xml
104
html: output.html
105
markdown: output.md
106
- args: -skip 'TestGatewayCar/GET_response_for_application/vnd.ipld.car/Header_Content-Length'
106
107
# 7. Upload the results
108
- name: Upload MD summary
@@ -129,7 +128,7 @@ jobs:
128
steps:
129
# 1. Download the gateway-conformance fixtures
130
- name: Download gateway-conformance fixtures
132
- uses: ipfs/gateway-conformance/.github/actions/extract-fixtures@v0.5
131
+ uses: ipfs/gateway-conformance/.github/actions/extract-fixtures@v0.6
132
with:
133
output: fixtures
134
@@ -202,14 +201,14 @@ jobs:
201
202
# 9. Run the gateway-conformance tests over libp2p
203
- name: Run gateway-conformance tests over libp2p
205
- uses: ipfs/gateway-conformance/.github/actions/test@v0.5
204
+ uses: ipfs/gateway-conformance/.github/actions/test@v0.6
205
with:
206
gateway-url: http://127.0.0.1:8092
207
+ args: --specs "trustless-gateway,-trustless-ipns-gateway" -skip 'TestGatewayCar/GET_response_for_application/vnd.ipld.car/Header_Content-Length'
208
json: output.json
209
xml: output.xml
210
html: output.html
211
markdown: output.md
212
- args: --specs "trustless-gateway,-trustless-ipns-gateway" -skip 'TestGatewayCar/GET_response_for_application/vnd.ipld.car/Header_Content-Length'
212
213
# 10. Upload the results
214
- name: Upload MD summary