From a1edfe231eed5632126836af512ab893fb023ef6 Mon Sep 17 00:00:00 2001 From: Prithvi Shahi <50885601+p-shahi@users.noreply.github.com> Date: Thu, 4 May 2023 15:10:16 -0700 Subject: [PATCH] chore: Add go-libp2p v0.27.1 and v0.26.4, update zig-libp2p (#177) * chore: Add go-libp2p v0.27.1 and v0.26.4 * update zig --- multidim-interop/impl/go/v0.26/Makefile | 2 +- multidim-interop/impl/go/v0.27/Makefile | 20 ++++++++++++++++++++ multidim-interop/impl/zig/v0.0.1/Makefile | 2 +- multidim-interop/versions.ts | 16 ++++++++++++++++ 4 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 multidim-interop/impl/go/v0.27/Makefile diff --git a/multidim-interop/impl/go/v0.26/Makefile b/multidim-interop/impl/go/v0.26/Makefile index 1dbcf78..f82e192 100644 --- a/multidim-interop/impl/go/v0.26/Makefile +++ b/multidim-interop/impl/go/v0.26/Makefile @@ -1,5 +1,5 @@ image_name := go-v0.26 -commitSha := 59a14cf3194d5d057c45cb1dbc7b1af3a116bc7a +commitSha := 8313917571fec7d26813ff437013fde6f48659f7 all: image.json diff --git a/multidim-interop/impl/go/v0.27/Makefile b/multidim-interop/impl/go/v0.27/Makefile new file mode 100644 index 0000000..38a054e --- /dev/null +++ b/multidim-interop/impl/go/v0.27/Makefile @@ -0,0 +1,20 @@ +image_name := go-v0.27 +commitSha := c3096923a0964abf8a606e0b9576e4d7e700dc57 + +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-* diff --git a/multidim-interop/impl/zig/v0.0.1/Makefile b/multidim-interop/impl/zig/v0.0.1/Makefile index a548202..85c7cbc 100644 --- a/multidim-interop/impl/zig/v0.0.1/Makefile +++ b/multidim-interop/impl/zig/v0.0.1/Makefile @@ -1,5 +1,5 @@ image_name := zig-v0.0.1 -commitSha := f06e86e06f70cfbd027c981d0e455d9fa5964016 +commitSha := d4a679ee48acae25b5c55c91918f89dec1b78e85 all: image.json print-cpu-info diff --git a/multidim-interop/versions.ts b/multidim-interop/versions.ts index 8009689..5a3d9a8 100644 --- a/multidim-interop/versions.ts +++ b/multidim-interop/versions.ts @@ -1,3 +1,5 @@ +import gov027 from "./impl/go/v0.27/image.json" +import gov026 from "./impl/go/v0.26/image.json" import gov025 from "./impl/go/v0.25/image.json" import gov024 from "./impl/go/v0.24/image.json" import gov023 from "./impl/go/v0.23/image.json" @@ -80,6 +82,20 @@ export const versions: Array = [ secureChannels: ["noise"], muxers: ["mplex", "yamux"] }, + { + id: "go-v0.27.1", + containerImageID: gov027.imageID, + transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"], + secureChannels: ["tls", "noise"], + muxers: ["mplex", "yamux"], + }, + { + id: "go-v0.26.4", + containerImageID: gov026.imageID, + transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"], + secureChannels: ["tls", "noise"], + muxers: ["mplex", "yamux"], + }, { id: "go-v0.25.1", containerImageID: gov025.imageID,