Skip to content

Commit

Permalink
rm outter yaml
Browse files Browse the repository at this point in the history
Signed-off-by: forsaken628 <[email protected]>
  • Loading branch information
forsaken628 committed Jun 15, 2024
1 parent 6dacf89 commit 8d2bacb
Show file tree
Hide file tree
Showing 10 changed files with 698 additions and 698 deletions.
12 changes: 0 additions & 12 deletions buf.gen.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion hack/update-mockgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ set -o errexit
set -o nounset
set -o pipefail

SCRIPT_ROOT="$(dirname "${BASH_SOURCE[0]}")/.."
SCRIPT_ROOT=${GOPATH}/src/github.com/kubeflow/katib

cd "${SCRIPT_ROOT}"

Expand Down
2 changes: 1 addition & 1 deletion hack/update-openapigen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ echo ">> Using ${CODEGEN_PKG} for the code generator"
# Ensure we can execute.
chmod +x "${CODEGEN_PKG}/generate-groups.sh"

PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)"
PROJECT_ROOT=${GOPATH}/src/github.com/kubeflow/katib
VERSION_LIST=(v1beta1)
SWAGGER_VERSION="0.1"

Expand Down
6 changes: 1 addition & 5 deletions hack/update-proto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,10 @@ ROOT_DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )"
mkdir -p "${ROOT_DIR}/bin"
export GOBIN=$ROOT_DIR/bin

if [ ! -f "${GOBIN}/buf" ]; then
if [ ! -f "${GOBIN}/buf" ]; then
go install github.com/bufbuild/buf/cmd/[email protected]
fi

pushd "${ROOT_DIR}"
"${GOBIN}/buf" generate
popd

pushd "${ROOT_DIR}/pkg/apis/manager/health"
"${GOBIN}/buf" generate
popd
Expand Down
8 changes: 8 additions & 0 deletions pkg/apis/manager/health/buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
version: v2
plugins:
- remote: buf.build/protocolbuffers/go:v1.33.0
out: .
opt: module=github.com/kubeflow/katib/pkg/apis/manager/health

- remote: buf.build/grpc/go:v1.3.0
out: .
opt: module=github.com/kubeflow/katib/pkg/apis/manager/health,require_unimplemented_servers=false

- remote: buf.build/protocolbuffers/python:v26.1
out: python

Expand Down
126 changes: 63 additions & 63 deletions pkg/apis/manager/health/health.pb.go

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

4 changes: 2 additions & 2 deletions pkg/apis/manager/health/health_grpc.pb.go

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

Loading

0 comments on commit 8d2bacb

Please sign in to comment.