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:
parent
465065cff8
commit
ce83afc1b0
|
@ -1,10 +1,15 @@
|
|||
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}
|
||||
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}}" | \
|
||||
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@
|
||||
|
||||
|
|
|
@ -74,6 +74,13 @@ export const versions: Array<Version> = [
|
|||
secureChannels: ["tls", "noise"],
|
||||
muxers: ["mplex", "yamux"],
|
||||
},
|
||||
{
|
||||
id: "chromium-rust-v0.52",
|
||||
containerImageID: browserImageIDLookup,
|
||||
transports: [{ name: "webtransport", onlyDial: true }],
|
||||
secureChannels: [],
|
||||
muxers: [],
|
||||
},
|
||||
{
|
||||
id: "js-v0.41",
|
||||
transports: ["tcp", "ws"],
|
||||
|
|
Loading…
Reference in New Issue