chore: add go-libp2p 0.28.0 and update to v0.27.6 (#192)

This commit is contained in:
Prithvi Shahi 2023-06-13 11:33:32 -07:00 committed by GitHub
parent 0143634927
commit f828ee216b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 2 deletions

View File

@ -1,5 +1,5 @@
image_name := go-v0.27 image_name := go-v0.27
commitSha := c3096923a0964abf8a606e0b9576e4d7e700dc57 commitSha := 2df518f43fa2c3e937b81c249c2c5b898421df6b
all: image.json all: image.json

View File

@ -0,0 +1,21 @@
image_name := go-v0.28
commitSha := 703c3a4377d1ca2cf3fc93c92c883be1644f3ba6
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,3 +1,4 @@
import gov028 from "./impl/go/v0.28/image.json"
import gov027 from "./impl/go/v0.27/image.json" import gov027 from "./impl/go/v0.27/image.json"
import gov026 from "./impl/go/v0.26/image.json" import gov026 from "./impl/go/v0.26/image.json"
import gov025 from "./impl/go/v0.25/image.json" import gov025 from "./impl/go/v0.25/image.json"
@ -123,7 +124,14 @@ export const versions: Array<Version> = [
muxers: ["mplex", "yamux"], muxers: ["mplex", "yamux"],
}, },
{ {
id: "go-v0.27.1", id: "go-v0.28.0",
containerImageID: gov028.imageID,
transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"],
secureChannels: ["tls", "noise"],
muxers: ["mplex", "yamux"],
},
{
id: "go-v0.27.6",
containerImageID: gov027.imageID, containerImageID: gov027.imageID,
transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"], transports: ["tcp", "ws", "quic", "quic-v1", "webtransport"],
secureChannels: ["tls", "noise"], secureChannels: ["tls", "noise"],