From b7285c0a3af978acc845428b3d8beb03e428745c Mon Sep 17 00:00:00 2001 From: Marco Munizaga Date: Mon, 13 Feb 2023 09:51:45 -0800 Subject: [PATCH] Add go-libp2p v0.25.1 (#133) --- multidim-interop/go/v0.25/.gitignore | 4 ++++ multidim-interop/go/v0.25/Makefile | 20 ++++++++++++++++++++ multidim-interop/versions.ts | 8 ++++++++ 3 files changed, 32 insertions(+) create mode 100644 multidim-interop/go/v0.25/.gitignore create mode 100644 multidim-interop/go/v0.25/Makefile diff --git a/multidim-interop/go/v0.25/.gitignore b/multidim-interop/go/v0.25/.gitignore new file mode 100644 index 0000000..12d131d --- /dev/null +++ b/multidim-interop/go/v0.25/.gitignore @@ -0,0 +1,4 @@ +go-libp2p-*.zip +go-libp2p-* +go-libp2p-*/* +image.json \ No newline at end of file diff --git a/multidim-interop/go/v0.25/Makefile b/multidim-interop/go/v0.25/Makefile new file mode 100644 index 0000000..6eb6526 --- /dev/null +++ b/multidim-interop/go/v0.25/Makefile @@ -0,0 +1,20 @@ +image_name := go-v0.25 +commitSha := 5741b6c9bbcc1185bdf94d816dca966b37ce61ff + +all: image.json + +image.json: go-libp2p-${commitSha} + cd go-libp2p-${commitSha} && IMAGE_NAME=${image_name} ../../../dockerBuildWrapper.sh -f test-plans/PingDockerfile . + docker image inspect ${image_name} -f "{{.Id}}" | \ + xargs -I {} echo "{\"imageID\": \"{}\"}" > $@ + +go-libp2p-${commitSha}: go-libp2p-${commitSha}.zip + unzip -o go-libp2p-${commitSha}.zip + +go-libp2p-${commitSha}.zip: + wget -O $@ "https://github.com/libp2p/go-libp2p/archive/${commitSha}.zip" + +clean: + rm image.json + rm go-libp2p-*.zip + rm -rf go-libp2p-* \ No newline at end of file diff --git a/multidim-interop/versions.ts b/multidim-interop/versions.ts index b5db936..95cf4ab 100644 --- a/multidim-interop/versions.ts +++ b/multidim-interop/versions.ts @@ -1,3 +1,4 @@ +import gov025 from "./go/v0.25/image.json" import gov024 from "./go/v0.24/image.json" import gov023 from "./go/v0.23/image.json" import gov022 from "./go/v0.22/image.json" @@ -37,6 +38,13 @@ export const versions: Array = [ secureChannels: [], muxers: [] }, + { + id: "go-v0.25.1", + containerImageID: gov025.imageID, + transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"], + secureChannels: ["tls", "noise"], + muxers: ["mplex", "yamux"], + }, { id: "go-v0.24.2", containerImageID: gov024.imageID,