Controllers: Make available as a target (#110357)

* Controllers: Add to build process
* Allow setting through env variables
This commit is contained in:
Stephanie Hingtgen
2025-08-30 12:27:50 +02:00
committed by GitHub
parent 0d782bdedb
commit 232d68fb8c
10 changed files with 325 additions and 299 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ import (
func TargetCommand(version, commit, buildBranch, buildstamp string) *cli.Command {
return &cli.Command{
Name: "target",
Usage: "target specific grafana dskit services",
Usage: "target specific grafana services",
Flags: commonFlags,
Action: func(context *cli.Context) error {
return RunTargetServer(standalone.BuildInfo{
+1
View File
@@ -7,6 +7,7 @@ import (
"github.com/fatih/color"
"github.com/urfave/cli/v2"
_ "github.com/grafana/grafana/apps/provisioning/pkg/operators"
gcli "github.com/grafana/grafana/pkg/cmd/grafana-cli/commands"
"github.com/grafana/grafana/pkg/cmd/grafana-server/commands"
"github.com/grafana/grafana/pkg/server"