mirror of
https://github.com/grafana/grafana.git
synced 2025-01-16 03:32:37 -06:00
CI: Add packages-bucket
flag to publish packages
command (#56170)
* Add public bucket string * Fix lint
This commit is contained in:
parent
3342e529b4
commit
d32c67b52a
@ -5,6 +5,7 @@ import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/grafana/grafana/pkg/build/config"
|
||||
"github.com/grafana/grafana/pkg/build/docker"
|
||||
"github.com/grafana/grafana/pkg/build/packaging"
|
||||
"github.com/urfave/cli/v2"
|
||||
@ -187,7 +188,7 @@ func main() {
|
||||
&gcpKeyFlag,
|
||||
&cli.StringFlag{
|
||||
Name: "packages-bucket",
|
||||
Value: "grafana-downloads",
|
||||
Value: config.PublicBucket,
|
||||
Usage: "Google Cloud Storage Debian database bucket",
|
||||
},
|
||||
&cli.StringFlag{
|
||||
|
@ -1,5 +1,7 @@
|
||||
package config
|
||||
|
||||
const PublicBucket = "grafana-downloads"
|
||||
|
||||
var Versions = VersionMap{
|
||||
PullRequestMode: {
|
||||
Variants: []Variant{
|
||||
|
Loading…
Reference in New Issue
Block a user