feat(interop): add rust-libp2p chromium WASM WebTransport (#217)

Introduced in rust-libp2p with https://github.com/libp2p/rust-libp2p/pull/4015.
This commit is contained in:
Max Inden 2023-07-07 14:37:57 +02:00 committed by GitHub
parent 465065cff8
commit ce83afc1b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 3 deletions

View File

@ -1,10 +1,15 @@
image_name := rust-v0.52 image_name := rust-v0.52
commitSha := ce9821154a3bde53e38e72c511acbacb721573ce commitSha := 68e6bf9c3cd0d3317415a5ba31a62e91cba0a5d2
all: image.json all: image.json chromium-image.json
chromium-image.json: rust-libp2p-${commitSha}
cd rust-libp2p-${commitSha} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f interop-tests/Dockerfile.chromium .
docker image inspect ${image_name} -f "{{.Id}}" | \
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@
image.json: rust-libp2p-${commitSha} image.json: rust-libp2p-${commitSha}
cd rust-libp2p-${commitSha} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f interop-tests/Dockerfile . cd rust-libp2p-${commitSha} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f interop-tests/Dockerfile.native .
docker image inspect ${image_name} -f "{{.Id}}" | \ docker image inspect ${image_name} -f "{{.Id}}" | \
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@ xargs -I {} echo "{\"imageID\": \"{}\"}" > $@

View File

@ -74,6 +74,13 @@ export const versions: Array<Version> = [
secureChannels: ["tls", "noise"], secureChannels: ["tls", "noise"],
muxers: ["mplex", "yamux"], muxers: ["mplex", "yamux"],
}, },
{
id: "chromium-rust-v0.52",
containerImageID: browserImageIDLookup,
transports: [{ name: "webtransport", onlyDial: true }],
secureChannels: [],
muxers: [],
},
{ {
id: "js-v0.41", id: "js-v0.41",
transports: ["tcp", "ws"], transports: ["tcp", "ws"],