Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* Add [email protected]

* Update versionsInput.json
  • Loading branch information
MarcoPolo authored Oct 22, 2024
1 parent d756153 commit 8b5af3a
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 20 deletions.
31 changes: 31 additions & 0 deletions transport-interop/impl/go/v0.37/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
image_name := go-v0.37
version := 0.37.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 transport-interop/impl/go/v0.37/version.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c1f2f041a6937e509599ab21b7e84dc940828055350b603be3c60f3f0e3e1967 go-libp2p-0.37.0.zip
22 changes: 2 additions & 20 deletions transport-interop/versionsInput.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,25 +264,7 @@
]
},
{
"id": "go-v0.34",
"transports": [
"tcp",
"ws",
"wss",
"quic-v1",
"webtransport",
"webrtc-direct"
],
"secureChannels": [
"tls",
"noise"
],
"muxers": [
"yamux"
]
},
{
"id": "go-v0.35",
"id": "go-v0.36",
"transports": [
"tcp",
"ws",
Expand All @@ -300,7 +282,7 @@
]
},
{
"id": "go-v0.36",
"id": "go-v0.37",
"transports": [
"tcp",
"ws",
Expand Down

0 comments on commit 8b5af3a

Please sign in to comment.