Skip to content

Commit 009a98f

Browse files
authored
Update buf/gateway tooling and remove irrelevant TODO/XXX (#861)
* chore(deps): update buf/gateway tooling * docs: remove irrelevant TODO/XXX
1 parent fa54787 commit 009a98f

File tree

31 files changed

+903
-1079
lines changed

31 files changed

+903
-1079
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333

3434
- name: Setup buf dependencies
3535
run: |
36-
go install github.com/bufbuild/buf/cmd/buf@v1.48.0
37-
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@v2.25.1
36+
go install github.com/bufbuild/buf/cmd/buf@v1.56.0
37+
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@v2.27.1
3838
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc
39-
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@v2.25.1
40-
go install google.golang.org/protobuf/cmd/[email protected].1
39+
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@v2.27.1
40+
go install google.golang.org/protobuf/cmd/[email protected].7
4141
4242
- name: Cache go modules
4343
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3

Dockerfile.chall-manager

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ RUN go mod download
77

88
COPY . .
99

10-
RUN go install github.com/bufbuild/buf/cmd/buf@v1.48.0 && \
11-
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@v2.25.1 && \
10+
RUN go install github.com/bufbuild/buf/cmd/buf@v1.56.0 && \
11+
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@v2.27.1 && \
1212
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc && \
13-
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@v2.25.1 && \
14-
go install google.golang.org/protobuf/cmd/[email protected].1
13+
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@v2.27.1 && \
14+
go install google.golang.org/protobuf/cmd/[email protected].7
1515
RUN make buf
1616

1717
RUN apt update && apt install zip unzip -y

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ update-swagger:
1010
TAG?=dev
1111
.PHONY: docker
1212
docker:
13-
(docker build -t $(REGISTRY)ctferio/chall-manager:$(TAG) -f Dockerfile.chall-manager . && docker push $(REGISTRY)ctferio/chall-manager:$(TAG)) &
14-
(docker build -t $(REGISTRY)ctferio/chall-manager-janitor:$(TAG) -f Dockerfile.chall-manager-janitor . && docker push $(REGISTRY)ctferio/chall-manager-janitor:$(TAG)) &
15-
wait
13+
docker build -t $(REGISTRY)ctferio/chall-manager:$(TAG) -f Dockerfile.chall-manager .
14+
docker push $(REGISTRY)ctferio/chall-manager:$(TAG)
15+
16+
docker build -t $(REGISTRY)ctferio/chall-manager-janitor:$(TAG) -f Dockerfile.chall-manager-janitor .
17+
docker push $(REGISTRY)ctferio/chall-manager-janitor:$(TAG)

api/v1/challenge/challenge.pb.go

Lines changed: 79 additions & 188 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/v1/challenge/challenge.pb.gw.go

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/v1/common/common.pb.go

Lines changed: 9 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)