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
2 changes: 2 additions & 0 deletions .github/workflows/breakage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch main branch
run: git fetch origin main:main
- name: Setup env
uses: HatsuneMiku3939/direnv-action@v1
- run: |
Expand Down
41 changes: 21 additions & 20 deletions go/provider/v1/service.pb.go

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

81 changes: 81 additions & 0 deletions go/provider/v1/service.pb.gw.go

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

113 changes: 58 additions & 55 deletions go/provider/v1/validation.pb.go

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

9 changes: 8 additions & 1 deletion make/lint.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,16 @@ lint-shell:
.PHONY: lint
lint: $(patsubst %, lint-%,$(SUB_LINT))

PROTO_AGAINST_DIR := $(AKASH_DEVCACHE_TMP)/proto-against

.PHONY: proto-check-breaking
proto-check-breaking: $(BUF)
$(BUF) breaking --against '.git#branch=main'
@git worktree remove --force $(PROTO_AGAINST_DIR) 2>/dev/null || true
Comment thread
troian marked this conversation as resolved.
@git worktree prune
@git worktree add $(PROTO_AGAINST_DIR) main
@cp -r go/vendor $(PROTO_AGAINST_DIR)/go/
$(BUF) breaking --against '$(PROTO_AGAINST_DIR)'
@git worktree remove --force $(PROTO_AGAINST_DIR)

.PHONY: proto-format
proto-format:
Expand Down
8 changes: 7 additions & 1 deletion proto/provider/akash/provider/v1/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,11 @@ service ProviderRPC {
rpc StreamStatus(google.protobuf.Empty) returns (stream Status);

// BidScreening screens a deployment group spec for bid eligibility and returns pricing
rpc BidScreening(BidScreeningRequest) returns (BidScreeningResponse);
rpc BidScreening(BidScreeningRequest) returns (BidScreeningResponse) {
option (google.api.http) = {
post: "/v1/bid-screening",
body: "*",
response_body: "*"
};
}
}
Loading
Loading