From f828ee216bbea6978335b300136280c717b2dd7a Mon Sep 17 00:00:00 2001 From: Prithvi Shahi <50885601+p-shahi@users.noreply.github.com> Date: Tue, 13 Jun 2023 11:33:32 -0700 Subject: [PATCH] chore: add go-libp2p 0.28.0 and update to v0.27.6 (#192) --- multidim-interop/impl/go/v0.27/Makefile | 2 +- multidim-interop/impl/go/v0.28/Makefile | 21 +++++++++++++++++++++ multidim-interop/versions.ts | 10 +++++++++- 3 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 multidim-interop/impl/go/v0.28/Makefile diff --git a/multidim-interop/impl/go/v0.27/Makefile b/multidim-interop/impl/go/v0.27/Makefile index 38a054e..726d70e 100644 --- a/multidim-interop/impl/go/v0.27/Makefile +++ b/multidim-interop/impl/go/v0.27/Makefile @@ -1,5 +1,5 @@ image_name := go-v0.27 -commitSha := c3096923a0964abf8a606e0b9576e4d7e700dc57 +commitSha := 2df518f43fa2c3e937b81c249c2c5b898421df6b all: image.json diff --git a/multidim-interop/impl/go/v0.28/Makefile b/multidim-interop/impl/go/v0.28/Makefile new file mode 100644 index 0000000..ac3e538 --- /dev/null +++ b/multidim-interop/impl/go/v0.28/Makefile @@ -0,0 +1,21 @@ +image_name := go-v0.28 +commitSha := 703c3a4377d1ca2cf3fc93c92c883be1644f3ba6 + +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/versions.ts b/multidim-interop/versions.ts index 30d7e70..b92eb59 100644 --- a/multidim-interop/versions.ts +++ b/multidim-interop/versions.ts @@ -1,3 +1,4 @@ +import gov028 from "./impl/go/v0.28/image.json" 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" @@ -123,7 +124,14 @@ export const versions: Array = [ muxers: ["mplex", "yamux"], }, { - id: "go-v0.27.1", + id: "go-v0.28.0", + containerImageID: gov028.imageID, + transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"], + secureChannels: ["tls", "noise"], + muxers: ["mplex", "yamux"], + }, + { + id: "go-v0.27.6", containerImageID: gov027.imageID, transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"], secureChannels: ["tls", "noise"],