mirror of
https://github.com/status-im/libp2p-test-plans.git
synced 2025-01-13 00:04:17 +00:00
feat(interop): add java-v0.6 (#323)
This commit is contained in:
parent
eb21984300
commit
189496f182
14
transport-interop/impl/java/v0.6/Makefile
Normal file
14
transport-interop/impl/java/v0.6/Makefile
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
image_name := java-v0.6
|
||||||
|
commitSha := f917cc40060fcffc0b7ee9c66a04b35fb1b0a9bd
|
||||||
|
|
||||||
|
all: image.json
|
||||||
|
|
||||||
|
image.json:
|
||||||
|
wget -O java-libp2p-${commitSha}.zip "https://github.com/Peergos/nabu/archive/${commitSha}.zip"
|
||||||
|
unzip -o java-libp2p-${commitSha}.zip
|
||||||
|
cd nabu-${commitSha} && docker build -t ${image_name} -f Dockerfile .
|
||||||
|
docker image inspect ${image_name} -f "{{.Id}}" | \
|
||||||
|
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf image.json java-libp2p-*.zip nabu-*
|
@ -130,4 +130,10 @@ export const versions: Array<Version> = [
|
|||||||
secureChannels: ["tls", "noise"],
|
secureChannels: ["tls", "noise"],
|
||||||
muxers: ["mplex", "yamux"],
|
muxers: ["mplex", "yamux"],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
id: "java-v0.6",
|
||||||
|
transports: ["tcp"],
|
||||||
|
secureChannels: ["tls", "noise"],
|
||||||
|
muxers: ["mplex", "yamux"],
|
||||||
|
},
|
||||||
].map((v: Version) => (typeof v.containerImageID === "undefined" ? ({ ...v, containerImageID: canonicalImageIDLookup }) : v))
|
].map((v: Version) => (typeof v.containerImageID === "undefined" ? ({ ...v, containerImageID: canonicalImageIDLookup }) : v))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user