chore(multidim-interop): add go v0.31 (#289)

This commit is contained in:
Prithvi Shahi 2023-09-06 22:41:34 -07:00 committed by GitHub
parent 0b4e5e490d
commit fa6dc4c724
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 35 deletions

View File

@ -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-*

View File

@ -1 +0,0 @@
c8791847f0be31a1bc922ce396d77efe62dba491b3a884017662030027304c3d go-libp2p-0.27.9.zip

View File

@ -1 +0,0 @@
0f71bbb4d1485a548e50d266ec8a31dbefb9339306c26e8b21691e94782c5075 go-libp2p-0.28.3.zip

View File

@ -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

View File

@ -0,0 +1 @@
fab332959e47bc8c7c5ed870f1f138d782c169f75ecf35eb274b46fefa83e29b go-libp2p-0.31.0.zip

View File

@ -95,6 +95,12 @@ export const versions: Array<Version> = [
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"],