Skip to content

Commit

Permalink
kuma-api: add proto definition for HealthCheck (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
yskopets authored Dec 9, 2019
1 parent 69eb40b commit c1fb786
Show file tree
Hide file tree
Showing 5 changed files with 1,018 additions and 3 deletions.
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

0 comments on commit c1fb786

Please sign in to comment.