Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/transport-interop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/actions/run-transport-interop-test
with:
worker-count: 16
worker-count: 2
test-ignore: "jvm-v1.2 x zig-v0.0.1 (quic-v1)|zig-v0.0.1 x jvm-v1.2 (quic-v1)|rust-chromium-v0.53 x jvm-v1.2 (ws)|js-v1.x x jvm-v1.2 (ws, noise, yamux)|js-v1.x x jvm-v1.2 (ws, noise, mplex)|rust-chromium-v0.53 x jvm-v1.2 (ws, noise, mplex)"
shard-count: "4"
shard-index: ${{ matrix.shard }}
Expand Down
31 changes: 31 additions & 0 deletions transport-interop/impl/go/v0.48/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
image_name := go-v0.48
version := 0.48.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.48/version.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5100dda880f9d2fd42b3be4e785f4f0f20f0e691ea9a0b848f2c41be216c7676 go-libp2p-0.48.0.zip
1 change: 1 addition & 0 deletions transport-interop/knownErrors.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"^dotnet-v1\\.0 x js",
"^firefox-js.+\\(webtransport\\)",
"^go-v0\\.47 x go-v0\\.4[56] \\(webtransport\\)",
"^go-v0\\.48 x go-v0\\.46 \\(webtransport\\)",
"^chromium-js-v1\\.x x go-v0\\.47 \\(webtransport\\)",
"^chromium-js-v2\\.x x (chromium-js-v1\\.x|webkit-js-v2\\.x) \\(webrtc\\)",
"firefox-js-v2\\.x x webkit-js-v1\\.x \\(webrtc\\)",
Expand Down
38 changes: 19 additions & 19 deletions transport-interop/versionsInput.json
Original file line number Diff line number Diff line change
Expand Up @@ -357,25 +357,6 @@
"yamux"
]
},
{
"id": "go-v0.45",
"containerImageID": "ghcr.io/libp2p/test-plans/go-v0.45",
"transports": [
"tcp",
"ws",
"wss",
"quic-v1",
"webtransport",
"webrtc-direct"
],
"secureChannels": [
"tls",
"noise"
],
"muxers": [
"yamux"
]
},
{
"id": "go-v0.46",
"containerImageID": "ghcr.io/libp2p/test-plans/transport-interop/go-v0.46",
Expand Down Expand Up @@ -414,6 +395,25 @@
"yamux"
]
},
{
"id": "go-v0.48",
"containerImageID": "ghcr.io/libp2p/test-plans/transport-interop/go-v0.48",
"transports": [
"tcp",
"ws",
"wss",
"quic-v1",
"webtransport",
"webrtc-direct"
],
"secureChannels": [
"tls",
"noise"
],
"muxers": [
"yamux"
]
},
{
"id": "jvm-v1.2",
"containerImageID": "ghcr.io/libp2p/test-plans/transport-interop/jvm-v1.2",
Expand Down
Loading