Skip to content

Commit a6de05f

Browse files
easyCZroboquat
authored andcommitted
fix
1 parent 2be453d commit a6de05f

File tree

6 files changed

+1958
-0
lines changed

6 files changed

+1958
-0
lines changed

components/iam-api/buf.gen.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: v1
2+
plugins:
3+
- name: go
4+
out: go
5+
opt:
6+
- module=github.com/gitpod-io/gitpod/components/iam-api/go
7+
- name: go-grpc
8+
out: go
9+
opt:
10+
- module=github.com/gitpod-io/gitpod/components/iam-api/go

components/iam-api/buf.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: v1
2+
breaking:
3+
use:
4+
- FILE
5+
lint:
6+
use:
7+
- DEFAULT
8+
ignore:
9+
- google

components/iam-api/generate.sh

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#!/bin/bash
2+
3+
if [ -n "$DEBUG" ]; then
4+
set -x
5+
fi
6+
7+
set -o errexit
8+
set -o nounset
9+
set -o pipefail
10+
11+
ROOT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)/../../
12+
13+
# include protoc bash functions
14+
# shellcheck disable=SC1090,SC1091
15+
source "$ROOT_DIR"/scripts/protoc-generator.sh
16+
17+
install_dependencies
18+
19+
lint
20+
21+
# Run breaking change detector
22+
#buf breaking --against "https://github.com/gitpod-io/gitpod.git#branch=main,subdir=components/iam-api"
23+
24+
protoc_buf_generate
25+
26+
update_license

0 commit comments

Comments
 (0)