Files
grafana/pkg/build/daggerbuild/cmd/flags/concurrency.go
T
Kevin Minehart 13f4cf162e CI: move grafana-build into pkg/build (#105640)
* move grafana-build into pkg/build
2025-05-20 10:48:00 -05:00

17 lines
417 B
Go

package flags
import (
"runtime"
"github.com/urfave/cli/v2"
)
var ConcurrencyFlags = []cli.Flag{
&cli.Int64Flag{
Name: "parallel",
Usage: "The number of parallel pipelines to run. This can be particularly useful for building for multiple distributions at the same time",
DefaultText: "Just like with 'go test', this defaults to GOMAXPROCS",
Value: int64(runtime.GOMAXPROCS(0)),
},
}