chore: rm rust-libp2p v0.49 and v0.50, update v0.52 (#253)
This commit is contained in:
parent
28567c70da
commit
da62ebc979
|
@ -1,20 +0,0 @@
|
|||
image_name := rust-v0.49
|
||||
commitSha := 45e3f9c61ad6de18e3e28ca2810a65668d6bba8d
|
||||
|
||||
all: image.json
|
||||
|
||||
image.json: rust-libp2p-${commitSha}
|
||||
cd rust-libp2p-${commitSha} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f interop-tests/Dockerfile .
|
||||
docker image inspect ${image_name} -f "{{.Id}}" | \
|
||||
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@
|
||||
|
||||
rust-libp2p-${commitSha}: rust-libp2p-${commitSha}.zip
|
||||
unzip -o rust-libp2p-${commitSha}.zip
|
||||
|
||||
rust-libp2p-${commitSha}.zip:
|
||||
wget -O $@ "https://github.com/libp2p/rust-libp2p/archive/${commitSha}.zip"
|
||||
|
||||
clean:
|
||||
rm image.json
|
||||
rm rust-libp2p-*.zip
|
||||
rm -rf rust-libp2p-*
|
|
@ -1,20 +0,0 @@
|
|||
image_name := rust-v0.50
|
||||
commitSha := 97071b9a8e0dbd2d2526400169eaa30f317e9d62
|
||||
|
||||
all: image.json
|
||||
|
||||
image.json: rust-libp2p-${commitSha}
|
||||
cd rust-libp2p-${commitSha} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f interop-tests/Dockerfile .
|
||||
docker image inspect ${image_name} -f "{{.Id}}" | \
|
||||
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@
|
||||
|
||||
rust-libp2p-${commitSha}: rust-libp2p-${commitSha}.zip
|
||||
unzip -o rust-libp2p-${commitSha}.zip
|
||||
|
||||
rust-libp2p-${commitSha}.zip:
|
||||
wget -O $@ "https://github.com/libp2p/rust-libp2p/archive/${commitSha}.zip"
|
||||
|
||||
clean:
|
||||
rm image.json
|
||||
rm rust-libp2p-*.zip
|
||||
rm -rf rust-libp2p-*
|
|
@ -1,23 +1,35 @@
|
|||
image_name := rust-v0.52
|
||||
commitSha := 68e6bf9c3cd0d3317415a5ba31a62e91cba0a5d2
|
||||
version := 0.52.2
|
||||
|
||||
all: image.json chromium-image.json
|
||||
|
||||
chromium-image.json: rust-libp2p-${commitSha}
|
||||
cd rust-libp2p-${commitSha} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f interop-tests/Dockerfile.chromium .
|
||||
chromium-image.json: verify-checksum rust-libp2p-${version}
|
||||
cd rust-libp2p-${version} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f interop-tests/Dockerfile.chromium .
|
||||
docker image inspect ${image_name} -f "{{.Id}}" | \
|
||||
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@
|
||||
|
||||
image.json: rust-libp2p-${commitSha}
|
||||
cd rust-libp2p-${commitSha} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f interop-tests/Dockerfile.native .
|
||||
image.json: verify-checksum rust-libp2p-${version}
|
||||
cd rust-libp2p-${version} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f interop-tests/Dockerfile.native .
|
||||
docker image inspect ${image_name} -f "{{.Id}}" | \
|
||||
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@
|
||||
|
||||
rust-libp2p-${commitSha}: rust-libp2p-${commitSha}.zip
|
||||
unzip -o rust-libp2p-${commitSha}.zip
|
||||
rust-libp2p-${version}: rust-libp2p-${version}.zip
|
||||
unzip -o rust-libp2p-${version}.zip
|
||||
mv rust-libp2p-libp2p-v${version} rust-libp2p-${version}
|
||||
|
||||
rust-libp2p-${commitSha}.zip:
|
||||
wget -O $@ "https://github.com/libp2p/rust-libp2p/archive/${commitSha}.zip"
|
||||
rust-libp2p-${version}.zip:
|
||||
wget -O $@ "https://github.com/libp2p/rust-libp2p/archive/libp2p-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: rust-libp2p-${version}.zip
|
||||
shasum -a 256 rust-libp2p-${version}.zip > $@
|
||||
|
||||
verify-checksum: rust-libp2p-${version}.zip
|
||||
shasum -a 256 -c version.lock
|
||||
|
||||
.PHONY: clean all verify-checksum
|
||||
|
||||
clean:
|
||||
rm image.json
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
d6235033673b133eead02b40ec56cb913da454c4113696d1e63283550aef9155 rust-libp2p-0.52.2.zip
|
|
@ -50,18 +50,6 @@ function browserImageIDLookup(id: string): string {
|
|||
}
|
||||
|
||||
export const versions: Array<Version> = [
|
||||
{
|
||||
id: "rust-v0.49",
|
||||
transports: ["ws", "tcp"],
|
||||
secureChannels: ["noise"],
|
||||
muxers: ["mplex", "yamux"],
|
||||
},
|
||||
{
|
||||
id: "rust-v0.50",
|
||||
transports: ["ws", "tcp", "quic-v1"],
|
||||
secureChannels: ["tls", "noise"],
|
||||
muxers: ["mplex", "yamux"],
|
||||
},
|
||||
{
|
||||
id: "rust-v0.51",
|
||||
transports: ["ws", "tcp", "quic-v1", "webrtc-direct"],
|
||||
|
|
Loading…
Reference in New Issue