Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

feat: buf integration for proto release #300

Merged
merged 5 commits into from
Jun 3, 2022
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
16 changes: 16 additions & 0 deletions .github/workflows/buf_publish.yaml
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'
3 changes: 3 additions & 0 deletions buf.work.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
version: v1
directories:
- protos
17 changes: 17 additions & 0 deletions protos/buf.lock
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
11 changes: 11 additions & 0 deletions protos/buf.yaml
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