Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobgy committed Feb 10, 2021
1 parent 64400ed commit 1e7a338
Show file tree
Hide file tree
Showing 25 changed files with 181 additions and 337 deletions.
8 changes: 4 additions & 4 deletions backend/Dockerfile.buildapi
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ FROM golang:1.13.1-stretch as generator
ENV KFP_VERSION 1.0.0
ENV GRPC_GATEWAY_VERSION v1.9.0
ENV GO_SWAGGER_VERSION v0.18.0
ENV GOLANG_PROTOBUF_VERSION v1.3.2
ENV GOLANG_PROTOBUF_VERSION v1.3.1
ENV GRPC_VERSION v1.23.0
ENV PROTOC_VERSION 3.6.1
ENV PROTOC_VERSION 3.14.0

# Install protoc.
RUN apt-get update -y && apt-get install -y jq sed unzip
Expand All @@ -22,7 +22,7 @@ RUN mkdir grpc-ecosystem && cd grpc-ecosystem && git clone --depth 1 --branch $G
RUN mkdir grpc && git clone --depth 1 --branch $GRPC_VERSION https://github.com/grpc/grpc-go

# Install protoc-gen-rpc-gateway && protoc-gen-swagger.
RUN cd grpc-ecosystem/grpc-gateway && GO111MODULE=on go mod vendor
RUN cd grpc-ecosystem/grpc-gateway && go mod vendor
RUN GOBIN=/go/bin go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
RUN GOBIN=/go/bin go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger

Expand All @@ -33,5 +33,5 @@ RUN chmod +x swagger_linux_amd64 && mv swagger_linux_amd64 /usr/bin/swagger
# Need protobuf source code for -I in protoc command.
RUN mkdir golang && cd golang && git clone --depth 1 --branch $GOLANG_PROTOBUF_VERSION https://github.com/golang/protobuf.git
# Install protoc-gen-go.
RUN cd golang/protobuf && GO111MODULE=on go mod vendor
RUN cd golang/protobuf && go mod vendor
RUN GOBIN=/go/bin go install github.com/golang/protobuf/protoc-gen-go
20 changes: 5 additions & 15 deletions backend/api/go_client/auth.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions backend/api/go_client/error.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

57 changes: 16 additions & 41 deletions backend/api/go_client/experiment.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 3 additions & 13 deletions backend/api/go_client/filter.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 6 additions & 16 deletions backend/api/go_client/healthz.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions backend/api/go_client/healthz.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1e7a338

Please sign in to comment.