chore: add go-libp2p v0.32 and v0.33 (#346)
This commit is contained in:
parent
f8d2c6f9c5
commit
5bfec5ffde
|
@ -0,0 +1,31 @@
|
|||
image_name := go-v0.32
|
||||
version := 0.32.2
|
||||
|
||||
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-*
|
|
@ -0,0 +1 @@
|
|||
2169e11c42c71e57398930c9d334e437fb1958b9acd9afdf20a6cce30040588f go-libp2p-0.32.2.zip
|
|
@ -0,0 +1,31 @@
|
|||
image_name := go-v0.33
|
||||
version := 0.33.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-*
|
|
@ -0,0 +1 @@
|
|||
6ec52eaeaf89648848c5844507c6d0db1afb9643eb9499d53242231df939ad0f go-libp2p-0.33.0.zip
|
|
@ -110,6 +110,18 @@ export const versions: Array<Version> = [
|
|||
secureChannels: ["noise"],
|
||||
muxers: ["mplex", "yamux"],
|
||||
},
|
||||
{
|
||||
id: "go-v0.33",
|
||||
transports: ["tcp", "ws", "quic-v1", "webtransport", "webrtc-direct"],
|
||||
secureChannels: ["tls", "noise"],
|
||||
muxers: ["yamux"],
|
||||
},
|
||||
{
|
||||
id: "go-v0.32",
|
||||
transports: ["tcp", "ws", "quic-v1", "webtransport", "webrtc-direct"],
|
||||
secureChannels: ["tls", "noise"],
|
||||
muxers: ["yamux"],
|
||||
},
|
||||
{
|
||||
id: "go-v0.31",
|
||||
transports: ["tcp", "ws", "quic-v1", "webtransport"],
|
||||
|
|
Loading…
Reference in New Issue