From fa6dc4c72416459cd93491a50871785fe415684b Mon Sep 17 00:00:00 2001 From: Prithvi Shahi Date: Wed, 6 Sep 2023 22:41:34 -0700 Subject: [PATCH] chore(multidim-interop): add go v0.31 (#289) --- multidim-interop/impl/go/v0.27/Makefile | 31 ------------------- multidim-interop/impl/go/v0.27/version.lock | 1 - multidim-interop/impl/go/v0.28/version.lock | 1 - .../impl/go/{v0.28 => v0.31}/Makefile | 4 +-- multidim-interop/impl/go/v0.31/version.lock | 1 + multidim-interop/versions.ts | 6 ++++ 6 files changed, 9 insertions(+), 35 deletions(-) delete mode 100644 multidim-interop/impl/go/v0.27/Makefile delete mode 100644 multidim-interop/impl/go/v0.27/version.lock delete mode 100644 multidim-interop/impl/go/v0.28/version.lock rename multidim-interop/impl/go/{v0.28 => v0.31}/Makefile (95%) create mode 100644 multidim-interop/impl/go/v0.31/version.lock diff --git a/multidim-interop/impl/go/v0.27/Makefile b/multidim-interop/impl/go/v0.27/Makefile deleted file mode 100644 index 7117881..0000000 --- a/multidim-interop/impl/go/v0.27/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -image_name := go-v0.27 -version := 0.27.9 - -all: image.json - -image.json: verify-checksum go-libp2p-${version} - cd go-libp2p-${version} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f test-plans/PingDockerfile . - docker image inspect ${image_name} -f "{{.Id}}" | \ - xargs -I {} echo "{\"imageID\": \"{}\"}" > $@ - -go-libp2p-${version}: go-libp2p-${version}.zip - unzip -o go-libp2p-${version}.zip - -go-libp2p-${version}.zip: - wget -O $@ "https://github.com/libp2p/go-libp2p/archive/v${version}.zip" - -# Run `make version.lock` to generate this lock file. This file should be commited. -# This locks the exact contents of the specified version. This lets us use the -# human readable name while still making sure the contents don't change. -version.lock: go-libp2p-${version}.zip - shasum -a 256 go-libp2p-${version}.zip > $@ - -verify-checksum: go-libp2p-${version}.zip - shasum -a 256 -c version.lock - -.PHONY: clean all verify-checksum - -clean: - rm image.json - rm go-libp2p-*.zip - rm -rf go-libp2p-* diff --git a/multidim-interop/impl/go/v0.27/version.lock b/multidim-interop/impl/go/v0.27/version.lock deleted file mode 100644 index f8772f5..0000000 --- a/multidim-interop/impl/go/v0.27/version.lock +++ /dev/null @@ -1 +0,0 @@ -c8791847f0be31a1bc922ce396d77efe62dba491b3a884017662030027304c3d go-libp2p-0.27.9.zip diff --git a/multidim-interop/impl/go/v0.28/version.lock b/multidim-interop/impl/go/v0.28/version.lock deleted file mode 100644 index 3b68883..0000000 --- a/multidim-interop/impl/go/v0.28/version.lock +++ /dev/null @@ -1 +0,0 @@ -0f71bbb4d1485a548e50d266ec8a31dbefb9339306c26e8b21691e94782c5075 go-libp2p-0.28.3.zip diff --git a/multidim-interop/impl/go/v0.28/Makefile b/multidim-interop/impl/go/v0.31/Makefile similarity index 95% rename from multidim-interop/impl/go/v0.28/Makefile rename to multidim-interop/impl/go/v0.31/Makefile index 266684b..9ff2dc1 100644 --- a/multidim-interop/impl/go/v0.28/Makefile +++ b/multidim-interop/impl/go/v0.31/Makefile @@ -1,5 +1,5 @@ -image_name := go-v0.28 -version := 0.28.3 +image_name := go-v0.31 +version := 0.31.0 all: image.json diff --git a/multidim-interop/impl/go/v0.31/version.lock b/multidim-interop/impl/go/v0.31/version.lock new file mode 100644 index 0000000..ada2691 --- /dev/null +++ b/multidim-interop/impl/go/v0.31/version.lock @@ -0,0 +1 @@ +fab332959e47bc8c7c5ed870f1f138d782c169f75ecf35eb274b46fefa83e29b go-libp2p-0.31.0.zip diff --git a/multidim-interop/versions.ts b/multidim-interop/versions.ts index e60f549..1623354 100644 --- a/multidim-interop/versions.ts +++ b/multidim-interop/versions.ts @@ -95,6 +95,12 @@ export const versions: Array = [ secureChannels: ["noise"], muxers: ["mplex", "yamux"], }, + { + id: "go-v0.31", + transports: ["tcp", "ws", "quic-v1", "webtransport"], + secureChannels: ["tls", "noise"], + muxers: ["yamux"], + }, { id: "go-v0.30", transports: ["tcp", "ws", "quic-v1", "webtransport"],