CI: Add packages-bucket flag to publish packages command (#56170)

* Add public bucket string

* Fix lint
This commit is contained in:
Dimitris Sotirakis 2022-10-03 15:29:32 +03:00 committed by GitHub
parent 3342e529b4
commit d32c67b52a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -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{

View File

@ -1,5 +1,7 @@
package config
const PublicBucket = "grafana-downloads"
var Versions = VersionMap{
PullRequestMode: {
Variants: []Variant{