forked from flyteorg/flyte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: buf integration for proto release (flyteorg#300)
* fix: integrated buf Signed-off-by: Yuvraj <[email protected]> * added protoc-gen-swagger Signed-off-by: Yuvraj <[email protected]> * buf mod update Signed-off-by: Yuvraj <[email protected]> * fix proto path in ci Signed-off-by: Yuvraj <[email protected]> Co-authored-by: Yuvraj <[email protected]>
- Loading branch information
Showing
4 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Publish Buf Package | ||
|
||
on: | ||
release: | ||
types: [created] | ||
|
||
jobs: | ||
buf: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: bufbuild/buf-setup-action@v1 | ||
- uses: bufbuild/buf-push-action@v1 | ||
with: | ||
buf_token: ${{ secrets.BUF_TOKEN }} | ||
input: 'protos' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
version: v1 | ||
directories: | ||
- protos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Generated by buf. DO NOT EDIT. | ||
version: v1 | ||
deps: | ||
- remote: buf.build | ||
owner: googleapis | ||
repository: googleapis | ||
branch: main | ||
commit: 2aa0ce062bf84656ad01d979d5c64038 | ||
digest: b1-m2miB5uR65x_C-ImFfVIHaeVmyd1u5X7NugZ2vDbpJI= | ||
create_time: 2022-06-01T15:05:55.95283Z | ||
- remote: buf.build | ||
owner: unionai | ||
repository: protoc-gen-swagger | ||
branch: main | ||
commit: 560c4f34581045c4a4e59ffab94fceb0 | ||
digest: b1-eoEUXiWuST4tiiorwcO2Nvx_1pX0GHqRjUlc3sQocig= | ||
create_time: 2022-06-02T06:14:15.441008Z |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: v1 | ||
name: buf.build/flyteorg/flyteidl | ||
lint: | ||
use: | ||
- DEFAULT | ||
breaking: | ||
use: | ||
- FILE | ||
deps: | ||
- buf.build/googleapis/googleapis | ||
- buf.build/unionai/protoc-gen-swagger |