diff --git a/transport-interop/impl/go/v0.34/Makefile b/transport-interop/impl/go/v0.34/Makefile new file mode 100644 index 0000000..26e7e80 --- /dev/null +++ b/transport-interop/impl/go/v0.34/Makefile @@ -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-* diff --git a/transport-interop/impl/go/v0.34/version.lock b/transport-interop/impl/go/v0.34/version.lock new file mode 100644 index 0000000..b4c13ed --- /dev/null +++ b/transport-interop/impl/go/v0.34/version.lock @@ -0,0 +1 @@ +4d9d7fbf769a4008112475419174e18a83a6eeebf0fa0635a50e4afd692b5510 go-libp2p-0.34.0.zip diff --git a/transport-interop/impl/go/v0.35/Makefile b/transport-interop/impl/go/v0.35/Makefile new file mode 100644 index 0000000..3440fa4 --- /dev/null +++ b/transport-interop/impl/go/v0.35/Makefile @@ -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-* diff --git a/transport-interop/impl/go/v0.35/version.lock b/transport-interop/impl/go/v0.35/version.lock new file mode 100644 index 0000000..4102675 --- /dev/null +++ b/transport-interop/impl/go/v0.35/version.lock @@ -0,0 +1 @@ +535ef1d8984c5f79fcdbbd569e827aad9cd41d9168a2827f67182c99736caa31 go-libp2p-0.35.0.zip diff --git a/transport-interop/versionsInput.json b/transport-interop/versionsInput.json index 615b6a9..ea69c61 100644 --- a/transport-interop/versionsInput.json +++ b/transport-interop/versionsInput.json @@ -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" + ] } ]