Skip to content

Commit

Permalink
fix(backend): Upgrade grpc-gateway patch version to enable correct sw…
Browse files Browse the repository at this point in the history
…agger config (#7788)

* fix(backend): Upgrade grpc-gateway patch version to enable correct swagger config.

* Tag PR commit info

* Generate api based on reverted change
  • Loading branch information
zijianjoy authored Jun 1, 2022
1 parent 665d826 commit cf1b873
Show file tree
Hide file tree
Showing 23 changed files with 78 additions and 892 deletions.
2 changes: 1 addition & 1 deletion backend/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# Generate client code (go & json) from API protocol buffers
FROM golang:1.15.10 as generator
ENV GRPC_GATEWAY_VERSION v1.9.0
ENV GRPC_GATEWAY_VERSION v1.9.6
ENV GO_SWAGGER_VERSION v0.18.0
ENV GOLANG_PROTOBUF_VERSION v1.5.1
ENV GRPC_VERSION v1.23.0
Expand Down
3 changes: 2 additions & 1 deletion backend/api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
IMAGE_TAG=kfp-api-generator
# Contact one of Bobgy, or zijianjoy if this remote image needs an update.
REMOTE_IMAGE=gcr.io/ml-pipeline-test/api-generator
PREBUILT_REMOTE_IMAGE=gcr.io/ml-pipeline-test/api-generator@sha256:10a09669794180b91c8b0fffb803db81eb458372e6ab669051f40d4979cdf43c
# Image generated by https://github.com/kubeflow/pipelines/pull/7788.
PREBUILT_REMOTE_IMAGE=gcr.io/ml-pipeline-test/api-generator@sha256:431635b564a8716e0814df4b8803594d64a517e02d72c6950e936e4b5cce60e3

# Generate clients using a pre-built api-generator image.
.PHONY: generate
Expand Down
2 changes: 1 addition & 1 deletion backend/api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Tools needed:
## Auto-generation of Go client and swagger definitions

```bash
make
make generate
```

Code will be generated in:
Expand Down
7 changes: 5 additions & 2 deletions backend/api/go_client/auth.pb.gw.go

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

17 changes: 10 additions & 7 deletions backend/api/go_client/experiment.pb.gw.go

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

2 changes: 1 addition & 1 deletion 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.

17 changes: 10 additions & 7 deletions backend/api/go_client/job.pb.gw.go

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

34 changes: 20 additions & 14 deletions backend/api/go_client/pipeline.pb.gw.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/report.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 cf1b873

Please sign in to comment.