Skip to content

Commit

Permalink
fix: build clients correctly (not only messages) (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
livio-a authored Mar 9, 2022
1 parent d6ce970 commit fb529f3
Show file tree
Hide file tree
Showing 4 changed files with 913 additions and 30 deletions.
5 changes: 4 additions & 1 deletion build/zitadel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ RUN mkdir -p /go/src/github.com/caos/zitadel/pkg/grpc/authoption
## generate all pb files and copy them to a new directory
RUN ./build/zitadel/generate-grpc-client.sh ${PROJECT_PATH} \
&& mkdir /zitadel-api \
&& find /go/src/github.com/caos/zitadel-go/pkg/client/zitadel -iname '*.pb.go' -exec cp --parents \{\} /zitadel-api \;
&& find /go/src/github.com/caos/zitadel-go/pkg/client/zitadel -iname '*.pb.go' -exec cp --parents \{\} /zitadel-api \; \
&& mv /go/src/github.com/caos/zitadel/pkg/grpc/admin/admin_grpc.pb.go /zitadel-api/go/src/github.com/caos/zitadel-go/pkg/client/zitadel/admin/ \
&& mv /go/src/github.com/caos/zitadel/pkg/grpc/auth/auth_grpc.pb.go /zitadel-api/go/src/github.com/caos/zitadel-go/pkg/client/zitadel/auth/ \
&& mv /go/src/github.com/caos/zitadel/pkg/grpc/management/management_grpc.pb.go /zitadel-api/go/src/github.com/caos/zitadel-go/pkg/client/zitadel/management/
#######################
## prepare generated files for output
#######################
Expand Down
Loading

0 comments on commit fb529f3

Please sign in to comment.