K8s: Use grafana executable for standalone api service (#77904)

Co-authored-by: Dan Cech <dcech@grafana.com>
This commit is contained in:
Ryan McKinley
2023-11-09 16:50:27 -08:00
committed by GitHub
parent 49d6066609
commit d410ef3439
17 changed files with 133 additions and 94 deletions

View File

@@ -7,7 +7,7 @@ WIRE_TAGS = "oss"
-include local/Makefile
include .bingo/Variables.mk
.PHONY: all deps-go deps-js deps build-go build-backend build-example-apiserver build-server build-cli build-js build build-docker-full build-docker-full-ubuntu lint-go golangci-lint test-go test-js gen-ts test run run-frontend clean devenv devenv-down protobuf drone help gen-go gen-cue fix-cue
.PHONY: all deps-go deps-js deps build-go build-backend build-server build-cli build-js build build-docker-full build-docker-full-ubuntu lint-go golangci-lint test-go test-js gen-ts test run run-frontend clean devenv devenv-down protobuf drone help gen-go gen-cue fix-cue
GO = go
GO_FILES ?= ./pkg/...
@@ -132,10 +132,6 @@ build-server: ## Build Grafana server.
@echo "build server"
$(GO) run build.go $(GO_BUILD_FLAGS) build-server
build-example-apiserver: ## Build Grafana example-apiserver application.
@echo "build grafana-cli"
$(GO) run build.go $(GO_BUILD_FLAGS) build-example-apiserver
build-cli: ## Build Grafana CLI application.
@echo "build grafana-cli"
$(GO) run build.go $(GO_BUILD_FLAGS) build-cli