deps(transport-interop): add v0.53 release of rust-libp2p (#326)

This commit is contained in:
Thomas Eizinger 2024-01-24 16:55:33 -08:00 committed by GitHub
parent b4384fb60b
commit eb6bf67d30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 57 additions and 2 deletions

View File

@ -1,4 +1,4 @@
image_name := rust-v0.52
image_name := rust-chromium-v0.52
# BROKEN because glibc does not match.
commitSha := f1bfe8d4ed423d03df4ef477072178e953c85f45

View File

@ -0,0 +1,20 @@
image_name := rust-chromium-v0.53
commitSha := b7914e407da34c99fb76dcc300b3d44b9af97fac
all: image.json
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\": \"{}\"}" > $@
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-*

View File

@ -0,0 +1,20 @@
image_name := rust-v0.53
commitSha := b7914e407da34c99fb76dcc300b3d44b9af97fac
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-*

View File

@ -62,13 +62,28 @@ export const versions: Array<Version> = [
secureChannels: ["tls", "noise"],
muxers: ["mplex", "yamux"],
},
// Re-enable when we figure out the glibc mismatch issue: https://github.com/libp2p/test-plans/pull/342
{
id: "rust-v0.53",
transports: ["ws", "tcp", "quic-v1", "webrtc-direct"],
secureChannels: ["tls", "noise"],
muxers: ["mplex", "yamux"],
},
// {
// id: "rust-chromium-v0.52",
// transports: [{ name: "webtransport", onlyDial: true }],
// secureChannels: [],
// muxers: [],
// },
{
id: "rust-chromium-v0.53",
"transports": [
{ "name": "webtransport", "onlyDial": true },
{ "name": "webrtc-direct", "onlyDial": true },
{ "name": "ws", "onlyDial": true }
],
"secureChannels": ["noise"],
"muxers": ["mplex", "yamux"]
},
{
id: "js-v0.45",
transports: ["tcp", "ws", { name: "wss", onlyDial: true }],