add Java to interop tests (#197)
* add Nabu (Java) to interop tests * naming fix * missed a reference * update build commit * update build commit * update git hash * add to gitignore
This commit is contained in:
parent
df7c9d711c
commit
112e2efe20
|
@ -3,8 +3,9 @@ JS_SUBDIRS := $(wildcard impl/js/*/.)
|
|||
RUST_SUBDIRS := $(wildcard impl/rust/*/.)
|
||||
NIM_SUBDIRS := $(wildcard impl/nim/*/.)
|
||||
ZIG_SUBDIRS := $(wildcard impl/zig/*/.)
|
||||
JAVA_SUBDIRS := $(wildcard impl/java/*/.)
|
||||
|
||||
all: $(GO_SUBDIRS) $(JS_SUBDIRS) $(RUST_SUBDIRS) $(NIM_SUBDIRS) $(ZIG_SUBDIRS)
|
||||
all: $(GO_SUBDIRS) $(JS_SUBDIRS) $(RUST_SUBDIRS) $(NIM_SUBDIRS) $(ZIG_SUBDIRS) $(JAVA_SUBDIRS)
|
||||
$(JS_SUBDIRS):
|
||||
$(MAKE) -C $@
|
||||
$(GO_SUBDIRS):
|
||||
|
@ -15,6 +16,7 @@ $(NIM_SUBDIRS):
|
|||
$(MAKE) -C $@
|
||||
$(ZIG_SUBDIRS):
|
||||
$(MAKE) -C $@
|
||||
$(JAVA_SUBDIRS):
|
||||
$(MAKE) -C $@
|
||||
|
||||
|
||||
.PHONY: $(GO_SUBDIRS) $(JS_SUBDIRS) $(RUST_SUBDIRS) $(NIM_SUBDIRS) $(ZIG_SUBDIRS) all
|
||||
.PHONY: $(GO_SUBDIRS) $(JS_SUBDIRS) $(RUST_SUBDIRS) $(NIM_SUBDIRS) $(ZIG_SUBDIRS) $(JAVA_SUBDIRS) all
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
java-libp2p-*
|
||||
nabu-*
|
||||
image.json
|
|
@ -0,0 +1,14 @@
|
|||
image_name := java-v0.0.1
|
||||
commitSha := 89f724c4ca07eb4fc704176f91ad1f390b388cdb
|
||||
|
||||
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-*
|
|
@ -20,6 +20,7 @@ import chromiumJsV044 from "./impl/js/v0.44/chromium-image.json"
|
|||
import chromiumJsV045 from "./impl/js/v0.45/chromium-image.json"
|
||||
import firefoxJsV045 from "./impl/js/v0.45/firefox-image.json"
|
||||
import zigv001 from "./impl/zig/v0.0.1/image.json"
|
||||
import javav001 from "./impl/java/v0.0.1/image.json"
|
||||
|
||||
export type Version = {
|
||||
id: string,
|
||||
|
@ -186,4 +187,11 @@ export const versions: Array<Version> = [
|
|||
secureChannels: [],
|
||||
muxers: [],
|
||||
},
|
||||
{
|
||||
id: "java-v0.0.1",
|
||||
containerImageID: javav001.imageID,
|
||||
transports: ["tcp"],
|
||||
secureChannels: ["tls", "noise"],
|
||||
muxers: ["mplex", "yamux"],
|
||||
},
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue