chore: add go-libp2p@v0.34.0 to transport-interop (#363)
* chore: add go-libp2p@v0.34.0 to transport-interop * Add webtransport back in * chore: add go-libp2p@v0.35.0 to transport-interop * Remove go-libp2p versions < 0.33 --------- Co-authored-by: galargh <galargh@users.noreply.github.com> Co-authored-by: Marco Munizaga <marco@marcopolo.io> Co-authored-by: Marco Munizaga <git@marcopolo.io>
This commit is contained in:
parent
5055eba611
commit
5210452aef
|
@ -0,0 +1,31 @@
|
|||
image_name := go-v0.34
|
||||
version := 0.34.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 @@
|
|||
4d9d7fbf769a4008112475419174e18a83a6eeebf0fa0635a50e4afd692b5510 go-libp2p-0.34.0.zip
|
|
@ -0,0 +1,31 @@
|
|||
image_name := go-v0.35
|
||||
version := 0.35.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 @@
|
|||
535ef1d8984c5f79fcdbbd569e827aad9cd41d9168a2827f67182c99736caa31 go-libp2p-0.35.0.zip
|
|
@ -138,69 +138,6 @@
|
|||
"yamux"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "go-v0.32",
|
||||
"transports": [
|
||||
"tcp",
|
||||
"ws",
|
||||
"quic-v1",
|
||||
"webrtc-direct"
|
||||
],
|
||||
"secureChannels": [
|
||||
"tls",
|
||||
"noise"
|
||||
],
|
||||
"muxers": [
|
||||
"yamux"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "go-v0.31",
|
||||
"transports": [
|
||||
"tcp",
|
||||
"ws",
|
||||
"quic-v1"
|
||||
],
|
||||
"secureChannels": [
|
||||
"tls",
|
||||
"noise"
|
||||
],
|
||||
"muxers": [
|
||||
"yamux"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "go-v0.30",
|
||||
"transports": [
|
||||
"tcp",
|
||||
"ws",
|
||||
"quic-v1"
|
||||
],
|
||||
"secureChannels": [
|
||||
"tls",
|
||||
"noise"
|
||||
],
|
||||
"muxers": [
|
||||
"yamux"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "go-v0.29",
|
||||
"transports": [
|
||||
"tcp",
|
||||
"ws",
|
||||
"quic",
|
||||
"quic-v1"
|
||||
],
|
||||
"secureChannels": [
|
||||
"tls",
|
||||
"noise"
|
||||
],
|
||||
"muxers": [
|
||||
"mplex",
|
||||
"yamux"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "nim-v1.0",
|
||||
"transports": [
|
||||
|
@ -268,5 +205,39 @@
|
|||
"mplex",
|
||||
"yamux"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "go-v0.34",
|
||||
"transports": [
|
||||
"tcp",
|
||||
"ws",
|
||||
"quic-v1",
|
||||
"webtransport",
|
||||
"webrtc-direct"
|
||||
],
|
||||
"secureChannels": [
|
||||
"tls",
|
||||
"noise"
|
||||
],
|
||||
"muxers": [
|
||||
"yamux"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "go-v0.35",
|
||||
"transports": [
|
||||
"tcp",
|
||||
"ws",
|
||||
"quic-v1",
|
||||
"webtransport",
|
||||
"webrtc-direct"
|
||||
],
|
||||
"secureChannels": [
|
||||
"tls",
|
||||
"noise"
|
||||
],
|
||||
"muxers": [
|
||||
"yamux"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue