diff --git a/Makefile b/Makefile index bba749c..4e8420b 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,8 @@ d=docker run --rm -it -v `pwd`:/data --workdir /data naas-models-builder:latest protoc=$(d) protoc build: - @ docker buildx create --name multiarch --driver docker-container --use 2>&1 > /dev/null || true - @ docker buildx build -f .docker/Dockerfile -t naas-models-builder --platform=linux/arm64,linux/amd64 . + #@ docker buildx create --name multiarch --driver docker-container --use 2>&1 > /dev/null || true + #@ docker buildx build -f .docker/Dockerfile -t naas-models-builder --platform=linux/arm64,linux/amd64 . @ .docker/load.sh python: python/naas_models python/naas_models/pydantic @@ -20,7 +20,10 @@ go: clean: rm -rf dist go python/naas_models/*_pb2.py python/naas_models/pydantic/*_p2p.py -generate: clean python go +submodules: + git submodule init && git submodule update + +generate: clean python go build submodules $(d) python3 -m grpc_tools.protoc \ -I=protos \ -I=lib/protoc-gen-validate/validate \ diff --git a/go/github.com/envoyproxy/protoc-gen-validate/validate/validate.pb.go b/go/github.com/envoyproxy/protoc-gen-validate/validate/validate.pb.go index 3d9168a..5c56e7c 100644 --- a/go/github.com/envoyproxy/protoc-gen-validate/validate/validate.pb.go +++ b/go/github.com/envoyproxy/protoc-gen-validate/validate/validate.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.32.0 // protoc v3.19.5 // source: validate.proto diff --git a/go/github.com/jupyter-naas/naas-models/go/aimodel/aimodel.pb.go b/go/github.com/jupyter-naas/naas-models/go/aimodel/aimodel.pb.go index 60165c2..c175ca4 100644 --- a/go/github.com/jupyter-naas/naas-models/go/aimodel/aimodel.pb.go +++ b/go/github.com/jupyter-naas/naas-models/go/aimodel/aimodel.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.32.0 // protoc v3.19.5 // source: aimodel.proto diff --git a/go/github.com/jupyter-naas/naas-models/go/chat/chat.pb.go b/go/github.com/jupyter-naas/naas-models/go/chat/chat.pb.go index 9a41572..9ff642d 100644 --- a/go/github.com/jupyter-naas/naas-models/go/chat/chat.pb.go +++ b/go/github.com/jupyter-naas/naas-models/go/chat/chat.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.32.0 // protoc v3.19.5 // source: chat.proto diff --git a/go/github.com/jupyter-naas/naas-models/go/credit/credit.pb.go b/go/github.com/jupyter-naas/naas-models/go/credit/credit.pb.go index ae1637e..6214350 100644 --- a/go/github.com/jupyter-naas/naas-models/go/credit/credit.pb.go +++ b/go/github.com/jupyter-naas/naas-models/go/credit/credit.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.32.0 // protoc v3.19.5 // source: credit.proto diff --git a/go/github.com/jupyter-naas/naas-models/go/iam/iam.pb.go b/go/github.com/jupyter-naas/naas-models/go/iam/iam.pb.go index 04996a7..3034751 100644 --- a/go/github.com/jupyter-naas/naas-models/go/iam/iam.pb.go +++ b/go/github.com/jupyter-naas/naas-models/go/iam/iam.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.32.0 // protoc v3.19.5 // source: iam.proto diff --git a/go/github.com/jupyter-naas/naas-models/go/registry/registry.pb.go b/go/github.com/jupyter-naas/naas-models/go/registry/registry.pb.go index 0fb8a40..29bb78c 100644 --- a/go/github.com/jupyter-naas/naas-models/go/registry/registry.pb.go +++ b/go/github.com/jupyter-naas/naas-models/go/registry/registry.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.32.0 // protoc v3.19.5 // source: registry.proto diff --git a/go/github.com/jupyter-naas/naas-models/go/secrets/secret.pb.go b/go/github.com/jupyter-naas/naas-models/go/secrets/secret.pb.go index 6e37e36..9d1ebc3 100644 --- a/go/github.com/jupyter-naas/naas-models/go/secrets/secret.pb.go +++ b/go/github.com/jupyter-naas/naas-models/go/secrets/secret.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.32.0 // protoc v3.19.5 // source: secret.proto diff --git a/go/github.com/jupyter-naas/naas-models/go/space/space.pb.go b/go/github.com/jupyter-naas/naas-models/go/space/space.pb.go index 24c7721..1d7c308 100644 --- a/go/github.com/jupyter-naas/naas-models/go/space/space.pb.go +++ b/go/github.com/jupyter-naas/naas-models/go/space/space.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.32.0 // protoc v3.19.5 // source: space.proto