mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
add support for buf (#10112)
* add support for buf Co-authored-by: Alex McKinney <alexmckinney01@gmail.com> Signed-off-by: Rémy Léone <rleone@scaleway.com>
This commit is contained in:
parent
b998636893
commit
4cc18b1109
20
.github/workflows/buf.yml
vendored
Normal file
20
.github/workflows/buf.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: bufbuild/buf-setup-action@v0.6.0
|
||||
- uses: bufbuild/buf-lint-action@v1
|
||||
with:
|
||||
input: 'prompb'
|
||||
- uses: bufbuild/buf-breaking-action@v1
|
||||
with:
|
||||
input: 'prompb'
|
||||
against: 'https://github.com/prometheus/prometheus.git#branch=main,ref=HEAD~1,subdir=prompb'
|
||||
- uses: bufbuild/buf-push-action@v1
|
||||
with:
|
||||
input: 'prompb'
|
||||
buf_token: ${{ secrets.BUF_TOKEN }}
|
10
prompb/buf.lock
Normal file
10
prompb/buf.lock
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Generated by buf. DO NOT EDIT.
|
||||
version: v1
|
||||
deps:
|
||||
- remote: buf.build
|
||||
owner: gogo
|
||||
repository: protobuf
|
||||
branch: main
|
||||
commit: 4df00b267f944190a229ce3695781e99
|
||||
digest: b1-sjLgsg7CzrkOrIjBDh3s-l0aMjE6oqTj85-OsoopKAw=
|
||||
create_time: 2021-08-10T00:14:28.345069Z
|
4
prompb/buf.yaml
Normal file
4
prompb/buf.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
version: v1
|
||||
name: buf.build/prometheus/prometheus
|
||||
deps:
|
||||
- buf.build/gogo/protobuf
|
Loading…
Reference in a new issue