Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update go-libp2p releases and rm v0.25 & v0.26 #252

Merged
merged 1 commit into from
Aug 11, 2023
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
20 changes: 0 additions & 20 deletions multidim-interop/impl/go/v0.25/Makefile

This file was deleted.

20 changes: 0 additions & 20 deletions multidim-interop/impl/go/v0.26/Makefile

This file was deleted.

25 changes: 18 additions & 7 deletions multidim-interop/impl/go/v0.27/Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,29 @@
image_name := go-v0.27
commitSha := 2df518f43fa2c3e937b81c249c2c5b898421df6b
version := 0.27.9

all: image.json

image.json: go-libp2p-${commitSha}
cd go-libp2p-${commitSha} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f test-plans/PingDockerfile .
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-${commitSha}: go-libp2p-${commitSha}.zip
unzip -o go-libp2p-${commitSha}.zip
go-libp2p-${version}: go-libp2p-${version}.zip
unzip -o go-libp2p-${version}.zip

go-libp2p-${commitSha}.zip:
wget -O $@ "https://github.com/libp2p/go-libp2p/archive/${commitSha}.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
Expand Down
1 change: 1 addition & 0 deletions multidim-interop/impl/go/v0.27/version.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
c8791847f0be31a1bc922ce396d77efe62dba491b3a884017662030027304c3d go-libp2p-0.27.9.zip
25 changes: 18 additions & 7 deletions multidim-interop/impl/go/v0.28/Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,29 @@
image_name := go-v0.28
commitSha := 703c3a4377d1ca2cf3fc93c92c883be1644f3ba6
version := 0.28.3

all: image.json

image.json: go-libp2p-${commitSha}
cd go-libp2p-${commitSha} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f test-plans/PingDockerfile .
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-${commitSha}: go-libp2p-${commitSha}.zip
unzip -o go-libp2p-${commitSha}.zip
go-libp2p-${version}: go-libp2p-${version}.zip
unzip -o go-libp2p-${version}.zip

go-libp2p-${commitSha}.zip:
wget -O $@ "https://github.com/libp2p/go-libp2p/archive/${commitSha}.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
Expand Down
1 change: 1 addition & 0 deletions multidim-interop/impl/go/v0.28/version.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0f71bbb4d1485a548e50d266ec8a31dbefb9339306c26e8b21691e94782c5075 go-libp2p-0.28.3.zip
2 changes: 1 addition & 1 deletion multidim-interop/impl/go/v0.29/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
image_name := go-v0.29
version := 0.29.0
version := 0.29.2

all: image.json

Expand Down
2 changes: 1 addition & 1 deletion multidim-interop/impl/go/v0.29/version.lock
Original file line number Diff line number Diff line change
@@ -1 +1 @@
473edd5482a9387ab532a46dfc32413aced2119eb47ad8dd7e16fb926ac74d29 go-libp2p-0.29.0.zip
3a9233632ee21e95dfcff15d1fb25f23fcc57d6b64398e05bd5a5a6038afa566 go-libp2p-0.29.2.zip
12 changes: 3 additions & 9 deletions multidim-interop/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,25 +115,19 @@ export const versions: Array<Version> = [
muxers: ["mplex", "yamux"],
},
{
id: "go-v0.28",
id: "go-v0.29",
transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"],
secureChannels: ["tls", "noise"],
muxers: ["mplex", "yamux"],
},
{
id: "go-v0.27",
transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"],
secureChannels: ["tls", "noise"],
muxers: ["mplex", "yamux"],
},
{
id: "go-v0.26",
id: "go-v0.28",
transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"],
secureChannels: ["tls", "noise"],
muxers: ["mplex", "yamux"],
},
{
id: "go-v0.25",
id: "go-v0.27",
transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"],
secureChannels: ["tls", "noise"],
muxers: ["mplex", "yamux"],
Expand Down