fix: make `rust-chromium` a separate implementation (#302)
This commit is contained in:
parent
a96d930eb4
commit
d9a5c388ad
|
@ -0,0 +1,5 @@
|
|||
rust-libp2p-*.zip
|
||||
rust-libp2p-*
|
||||
rust-libp2p-*/*
|
||||
image.json
|
||||
chromium-image.json
|
|
@ -0,0 +1,20 @@
|
|||
image_name := rust-v0.52
|
||||
commitSha := 54fa53af393adac83f9aab273c3d30efbc31ba57
|
||||
|
||||
all: image.json
|
||||
|
||||
image.json: rust-libp2p-${commitSha}
|
||||
cd rust-libp2p-${commitSha} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f interop-tests/Dockerfile.chromium .
|
||||
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,12 +1,7 @@
|
|||
image_name := rust-v0.52
|
||||
commitSha := 54fa53af393adac83f9aab273c3d30efbc31ba57
|
||||
|
||||
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 .
|
||||
docker image inspect ${image_name} -f "{{.Id}}" | \
|
||||
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@
|
||||
all: image.json
|
||||
|
||||
image.json: rust-libp2p-${commitSha}
|
||||
cd rust-libp2p-${commitSha} && IMAGE_NAME=${image_name} ../../../../dockerBuildWrapper.sh -f interop-tests/Dockerfile.native .
|
||||
|
|
|
@ -63,8 +63,7 @@ export const versions: Array<Version> = [
|
|||
muxers: ["mplex", "yamux"],
|
||||
},
|
||||
{
|
||||
id: "chromium-rust-v0.52",
|
||||
containerImageID: browserImageIDLookup,
|
||||
id: "rust-chromium-v0.52",
|
||||
transports: [{ name: "webtransport", onlyDial: true }],
|
||||
secureChannels: [],
|
||||
muxers: [],
|
||||
|
|
Loading…
Reference in New Issue