mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 04:52:10 +08:00

* WIP: copy approach * Fix package name * Do not ignore .keep for frontend extensions * Add keep file for frontend extensions * Tweak makefile to generate enterprise swagger or not * Remove duplicate imports * Add build extensions * Add CMD extensions * Add keep to e2e extensions * Add .keep * Reduce file structure changes * Ignore boring crypto * Add e2e extensions keep file * Remove enterprise file * Update .gitignore * Move things around * Update git ignore * Consolidate backend extensions folder * Move enterprise deps * Update comment * Do not use build tags * Ignore setting enterprise * Revert changes in makefile * Revert package changes * Add back extensions main.go * Update git ignore * Ignore spanner tests * Trick ignore files only by git * Add .ignore file to CODEOWNERS for frontend-ops * Fix issue with noisy duplicate targets
47 lines
1.1 KiB
Go
47 lines
1.1 KiB
Go
package main
|
|
|
|
import "github.com/urfave/cli/v2"
|
|
|
|
var (
|
|
jobsFlag = cli.IntFlag{
|
|
Name: "jobs",
|
|
Usage: "Number of parallel jobs",
|
|
}
|
|
buildIDFlag = cli.StringFlag{
|
|
Name: "build-id",
|
|
Usage: "Optionally supply a build ID to be part of the version",
|
|
}
|
|
editionFlag = cli.StringFlag{
|
|
Name: "edition",
|
|
Usage: "The edition of Grafana to build (oss or enterprise)",
|
|
Value: "oss",
|
|
}
|
|
triesFlag = cli.IntFlag{
|
|
Name: "tries",
|
|
Usage: "Specify number of tries before failing",
|
|
Value: 1,
|
|
}
|
|
tagFlag = cli.StringFlag{
|
|
Name: "tag",
|
|
Usage: "Grafana version tag",
|
|
}
|
|
securityFlag = cli.BoolFlag{
|
|
Name: "security",
|
|
Usage: "Security release",
|
|
}
|
|
srcFlag = cli.StringFlag{
|
|
Name: "src-bucket",
|
|
Value: "grafana-prerelease",
|
|
Usage: "Google Cloud Storage bucket",
|
|
}
|
|
securityDestBucketFlag = cli.StringFlag{
|
|
Name: "security-dest-bucket",
|
|
Usage: "Google Cloud Storage bucket for security packages (or $SECURITY_DEST_BUCKET)",
|
|
}
|
|
destFlag = cli.StringFlag{
|
|
Name: "dest-bucket",
|
|
Value: "grafana-downloads",
|
|
Usage: "Google Cloud Storage bucket for published packages",
|
|
}
|
|
)
|