Skip to content

Commit

Permalink
Remove protoc-gen-auth binary
Browse files Browse the repository at this point in the history
  • Loading branch information
knanao committed May 13, 2022
1 parent c403aee commit a65ddc3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tool/codegen/DOCKER_BUILD
@@ -1,2 +1,2 @@
version: 0.7.0
version: 0.8.0
registry: gcr.io/pipecd/codegen
6 changes: 6 additions & 0 deletions tool/codegen/Dockerfile
Expand Up @@ -38,6 +38,12 @@ RUN go install github.com/envoyproxy/protoc-gen-validate@v${PROTOC_GEN_VALIDATE_
&& rm protoc-gen-validate.tar.gz \
&& mv /go/src/github.com/envoyproxy/protoc-gen-validate-${PROTOC_GEN_VALIDATE_VER} /go/src/github.com/envoyproxy/protoc-gen-validate

# protoc-gen-auth
COPY protoc-gen-auth /protoc-gen-auth
RUN cd /protoc-gen-auth && \
go build -o /usr/local/bin/protoc-gen-auth . && \
chmod +x /usr/local/bin/protoc-gen-auth

# gomock
RUN go install github.com/golang/mock/mockgen@v${GOMOCK_VER}

Expand Down
1 change: 0 additions & 1 deletion tool/codegen/codegen.sh
Expand Up @@ -32,7 +32,6 @@ for dir in ${goProtoDirs[*]}; do
protoc \
-I . \
-I /go/src/github.com/envoyproxy/protoc-gen-validate \
--plugin=./tool/codegen/protoc-gen-auth/protoc-gen-auth \
--go_out=. \
--go_opt=paths=source_relative \
--go-grpc_out=. \
Expand Down
3 changes: 0 additions & 3 deletions tool/codegen/protoc-gen-auth/Makefile

This file was deleted.

Binary file removed tool/codegen/protoc-gen-auth/protoc-gen-auth
Binary file not shown.

0 comments on commit a65ddc3

Please sign in to comment.