chore: add rust-libp2p@v0.54.0 to transport-interop
This commit is contained in:
parent
2748dde76a
commit
85c412d31f
|
@ -0,0 +1,20 @@
|
|||
image_name := rust-v0.54
|
||||
commitSha :=
|
||||
|
||||
all: image.json
|
||||
|
||||
image.json: rust-libp2p-${commitSha}
|
||||
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\": \"{}\"}" > $@
|
||||
|
||||
rust-libp2p-${commitSha}: rust-libp2p-${commitSha}.zip
|
||||
unzip -o rust-libp2p-${commitSha}.zip
|
||||
|
||||
rust-libp2p-${commitSha}.zip:
|
||||
wget -O $@ "https://github.com/libp2p/rust-libp2p/archive/${commitSha}.zip"
|
||||
|
||||
clean:
|
||||
rm image.json
|
||||
rm rust-libp2p-*.zip
|
||||
rm -rf rust-libp2p-*
|
|
@ -256,5 +256,22 @@
|
|||
"muxers": [
|
||||
"yamux"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "rust-v0.54",
|
||||
"transports": [
|
||||
"ws",
|
||||
"tcp",
|
||||
"quic-v1",
|
||||
"webrtc-direct"
|
||||
],
|
||||
"secureChannels": [
|
||||
"tls",
|
||||
"noise"
|
||||
],
|
||||
"muxers": [
|
||||
"mplex",
|
||||
"yamux"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue