Skip to content

Commit

Permalink
chore: add go-libp2p v0.30 and remove v0.27 and v0.28 (#269)
Browse files Browse the repository at this point in the history
* chore: add go-libp2p v0.30 and remove v0.27 and v0.28

* remove quic and mplex in v0.30
  • Loading branch information
p-shahi authored Aug 23, 2023
1 parent 7d5710d commit 055eb07
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 10 deletions.
32 changes: 32 additions & 0 deletions multidim-interop/impl/go/v0.30/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
image_name := go-v0.30
version := 0.30.0

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

1 change: 1 addition & 0 deletions multidim-interop/impl/go/v0.30/version.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ce648ef713f6c68f9edf88e725605702ceb665ddc4c8a1b528f738a8689db1f3 go-libp2p-0.30.0.zip
14 changes: 4 additions & 10 deletions multidim-interop/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,19 +96,13 @@ export const versions: Array<Version> = [
muxers: ["mplex", "yamux"],
},
{
id: "go-v0.29",
transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"],
id: "go-v0.30",
transports: ["tcp", "ws", "quic-v1", "webtransport"],
secureChannels: ["tls", "noise"],
muxers: ["mplex", "yamux"],
muxers: ["yamux"],
},
{
id: "go-v0.28",
transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"],
secureChannels: ["tls", "noise"],
muxers: ["mplex", "yamux"],
},
{
id: "go-v0.27",
id: "go-v0.29",
transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"],
secureChannels: ["tls", "noise"],
muxers: ["mplex", "yamux"],
Expand Down

0 comments on commit 055eb07

Please sign in to comment.