Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:

- name: Setup buf dependencies
run: |
go install github.com/bufbuild/buf/cmd/buf@v1.48.0
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@v2.25.1
go install github.com/bufbuild/buf/cmd/buf@v1.56.0
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@v2.27.1
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@v2.25.1
go install google.golang.org/protobuf/cmd/[email protected].1
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@v2.27.1
go install google.golang.org/protobuf/cmd/[email protected].7

- name: Cache go modules
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile.chall-manager
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ RUN go mod download

COPY . .

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

RUN apt update && apt install zip unzip -y
Expand Down
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ update-swagger:
TAG?=dev
.PHONY: docker
docker:
(docker build -t $(REGISTRY)ctferio/chall-manager:$(TAG) -f Dockerfile.chall-manager . && docker push $(REGISTRY)ctferio/chall-manager:$(TAG)) &
(docker build -t $(REGISTRY)ctferio/chall-manager-janitor:$(TAG) -f Dockerfile.chall-manager-janitor . && docker push $(REGISTRY)ctferio/chall-manager-janitor:$(TAG)) &
wait
docker build -t $(REGISTRY)ctferio/chall-manager:$(TAG) -f Dockerfile.chall-manager .
docker push $(REGISTRY)ctferio/chall-manager:$(TAG)

docker build -t $(REGISTRY)ctferio/chall-manager-janitor:$(TAG) -f Dockerfile.chall-manager-janitor .
docker push $(REGISTRY)ctferio/chall-manager-janitor:$(TAG)
267 changes: 79 additions & 188 deletions api/v1/challenge/challenge.pb.go

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions api/v1/challenge/challenge.pb.gw.go

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

44 changes: 9 additions & 35 deletions api/v1/common/common.pb.go

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

Loading
Loading