diff --git a/transport-interop/impl/go/v0.37/Makefile b/transport-interop/impl/go/v0.37/Makefile new file mode 100644 index 000000000..ccc7ddbdb --- /dev/null +++ b/transport-interop/impl/go/v0.37/Makefile @@ -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-* diff --git a/transport-interop/impl/go/v0.37/version.lock b/transport-interop/impl/go/v0.37/version.lock new file mode 100644 index 000000000..c2068b255 --- /dev/null +++ b/transport-interop/impl/go/v0.37/version.lock @@ -0,0 +1 @@ +c1f2f041a6937e509599ab21b7e84dc940828055350b603be3c60f3f0e3e1967 go-libp2p-0.37.0.zip diff --git a/transport-interop/impl/go/v0.38/Makefile b/transport-interop/impl/go/v0.38/Makefile new file mode 100644 index 000000000..1f0d0135b --- /dev/null +++ b/transport-interop/impl/go/v0.38/Makefile @@ -0,0 +1,31 @@ +image_name := go-v0.38 +version := 0.38.1 + +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.38/version.lock b/transport-interop/impl/go/v0.38/version.lock new file mode 100644 index 000000000..5616f5788 --- /dev/null +++ b/transport-interop/impl/go/v0.38/version.lock @@ -0,0 +1 @@ +4d7bea12f85d63c3086fa820eb58f49dbacfab93956d0d158f668da93d491277 go-libp2p-0.38.1.zip diff --git a/transport-interop/versionsInput.json b/transport-interop/versionsInput.json index df7adc7a1..31c691d88 100644 --- a/transport-interop/versionsInput.json +++ b/transport-interop/versionsInput.json @@ -256,5 +256,39 @@ "muxers": [ "yamux" ] + }, + { + "id": "go-v0.37", + "transports": [ + "tcp", + "ws", + "quic-v1", + "webtransport", + "webrtc-direct" + ], + "secureChannels": [ + "tls", + "noise" + ], + "muxers": [ + "yamux" + ] + }, + { + "id": "go-v0.38", + "transports": [ + "tcp", + "ws", + "quic-v1", + "webtransport", + "webrtc-direct" + ], + "secureChannels": [ + "tls", + "noise" + ], + "muxers": [ + "yamux" + ] } ]