fix(interop/rust/wasm): bump version to use chrome 115 (#273)
Bump rust-libp2p v0.52 interop version to include https://github.com/libp2p/rust-libp2p/pull/4383 which fixes issue in https://github.com/libp2p/go-libp2p/pull/2506.
This commit is contained in:
parent
eebc07b1b4
commit
54fe78c332
|
@ -1,35 +1,23 @@
|
||||||
image_name := rust-v0.52
|
image_name := rust-v0.52
|
||||||
version := 0.52.2
|
commitSha := 54fa53af393adac83f9aab273c3d30efbc31ba57
|
||||||
|
|
||||||
all: image.json chromium-image.json
|
all: image.json chromium-image.json
|
||||||
|
|
||||||
chromium-image.json: verify-checksum rust-libp2p-${version}
|
chromium-image.json: rust-libp2p-${commitSha}
|
||||||
cd rust-libp2p-${version} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f interop-tests/Dockerfile.chromium .
|
cd rust-libp2p-${commitSha} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f interop-tests/Dockerfile.chromium .
|
||||||
docker image inspect ${image_name} -f "{{.Id}}" | \
|
docker image inspect ${image_name} -f "{{.Id}}" | \
|
||||||
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@
|
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@
|
||||||
|
|
||||||
image.json: verify-checksum rust-libp2p-${version}
|
image.json: rust-libp2p-${commitSha}
|
||||||
cd rust-libp2p-${version} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f interop-tests/Dockerfile.native .
|
cd rust-libp2p-${commitSha} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f interop-tests/Dockerfile.native .
|
||||||
docker image inspect ${image_name} -f "{{.Id}}" | \
|
docker image inspect ${image_name} -f "{{.Id}}" | \
|
||||||
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@
|
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@
|
||||||
|
|
||||||
rust-libp2p-${version}: rust-libp2p-${version}.zip
|
rust-libp2p-${commitSha}: rust-libp2p-${commitSha}.zip
|
||||||
unzip -o rust-libp2p-${version}.zip
|
unzip -o rust-libp2p-${commitSha}.zip
|
||||||
mv rust-libp2p-libp2p-v${version} rust-libp2p-${version}
|
|
||||||
|
|
||||||
rust-libp2p-${version}.zip:
|
rust-libp2p-${commitSha}.zip:
|
||||||
wget -O $@ "https://github.com/libp2p/rust-libp2p/archive/libp2p-v${version}.zip"
|
wget -O $@ "https://github.com/libp2p/rust-libp2p/archive/${commitSha}.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:
|
clean:
|
||||||
rm image.json
|
rm image.json
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
d6235033673b133eead02b40ec56cb913da454c4113696d1e63283550aef9155 rust-libp2p-0.52.2.zip
|
|
Loading…
Reference in New Issue