Revert "update open API"

This reverts commit 00ff74cc96.
This commit is contained in:
Yuri Tseretyan
2024-08-22 10:05:40 -04:00
parent 00ff74cc96
commit 8c1926a422
17 changed files with 44 additions and 1472 deletions
+4 -2
View File
@@ -7,9 +7,10 @@ WIRE_TAGS = "oss"
-include local/Makefile
include .bingo/Variables.mk
GO = go
GO_VERSION = 1.22.4
GO_FILES ?= $(shell $(GO) run ./scripts/go-workspace/main.go list-submodules --delimiter '/... ')
GO_FILES ?= ./pkg/... ./pkg/apiserver/... ./pkg/apimachinery/... ./pkg/promlib/... ./pkg/semconv/... ./pkg/storage/unified/resource/...
SH_FILES ?= $(shell find ./scripts -name *.sh)
GO_RACE := $(shell [ -n "$(GO_RACE)" -o -e ".go-race-enabled-locally" ] && echo 1 )
GO_RACE_FLAG := $(if $(GO_RACE),-race)
@@ -171,7 +172,8 @@ gen-jsonnet:
.PHONY: update-workspace
update-workspace:
@echo "updating workspace"
bash scripts/go-workspace/update-workspace.sh
$(GO) mod download
$(GO) work sync
.PHONY: build-go
build-go: update-workspace gen-go ## Build all Go binaries.