chore: Add go-libp2p v0.27.1 and v0.26.4, update zig-libp2p (#177)

* chore: Add go-libp2p v0.27.1 and v0.26.4

* update zig
This commit is contained in:
Prithvi Shahi 2023-05-04 15:10:16 -07:00 committed by GitHub
parent f54b5d45bd
commit a1edfe231e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 38 additions and 2 deletions

View File

@ -1,5 +1,5 @@
image_name := go-v0.26
commitSha := 59a14cf3194d5d057c45cb1dbc7b1af3a116bc7a
commitSha := 8313917571fec7d26813ff437013fde6f48659f7
all: image.json

View File

@ -0,0 +1,20 @@
image_name := go-v0.27
commitSha := c3096923a0964abf8a606e0b9576e4d7e700dc57
all: image.json
image.json: go-libp2p-${commitSha}
cd go-libp2p-${commitSha} && 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-${commitSha}.zip:
wget -O $@ "https://github.com/libp2p/go-libp2p/archive/${commitSha}.zip"
clean:
rm image.json
rm go-libp2p-*.zip
rm -rf go-libp2p-*

View File

@ -1,5 +1,5 @@
image_name := zig-v0.0.1
commitSha := f06e86e06f70cfbd027c981d0e455d9fa5964016
commitSha := d4a679ee48acae25b5c55c91918f89dec1b78e85
all: image.json print-cpu-info

View File

@ -1,3 +1,5 @@
import gov027 from "./impl/go/v0.27/image.json"
import gov026 from "./impl/go/v0.26/image.json"
import gov025 from "./impl/go/v0.25/image.json"
import gov024 from "./impl/go/v0.24/image.json"
import gov023 from "./impl/go/v0.23/image.json"
@ -80,6 +82,20 @@ export const versions: Array<Version> = [
secureChannels: ["noise"],
muxers: ["mplex", "yamux"]
},
{
id: "go-v0.27.1",
containerImageID: gov027.imageID,
transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"],
secureChannels: ["tls", "noise"],
muxers: ["mplex", "yamux"],
},
{
id: "go-v0.26.4",
containerImageID: gov026.imageID,
transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"],
secureChannels: ["tls", "noise"],
muxers: ["mplex", "yamux"],
},
{
id: "go-v0.25.1",
containerImageID: gov025.imageID,