Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kuma-api: add proto definition for HealthCheck #446

Merged
merged 1 commit into from
Dec 9, 2019
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
18 changes: 15 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
environment:
GO_VERSION: *go_version
GO111MODULE: "on"
CLANG_FORMAT_PATH: clang-format-6.0
CLANG_FORMAT_PATH: clang-format-10
# if GOPATH is not set, `golang-ci` fails with an obscure message
# "ERRO Running error: context loading failed: failed to load program with go/packages: could not determine GOARCH and Go compiler"
GOPATH: /root/.go-kuma-go
Expand All @@ -107,9 +107,21 @@ jobs:
make dev/tools
- run:
name: "Install check tools (clang-format, ...)"
# `clang-format` is used to format `*.proto` files
command: |
apt update && apt install -y clang-format-6.0
apt update && apt install -y wget

# see https://apt.llvm.org/

cat >>/etc/apt/sources.list \<<EOF

deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main
deb-src http://apt.llvm.org/xenial/ llvm-toolchain-xenial main

EOF

wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|apt-key add -

apt update && apt install -y clang-format-10
- run:
name: "Run code generators (go generate, protoc, ...) and code checks (go fmt, go vet, ...)"
command: |
Expand Down
297 changes: 297 additions & 0 deletions api/mesh/v1alpha1/health_check.pb.go

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

Loading