CI: Add enterprise2 flag to unblock enterprise2 image deployments (#59904)
Add hacky flag to unblock enterprise2
This commit is contained in:
@@ -168,6 +168,10 @@ func main() {
|
||||
Flags: []cli.Flag{
|
||||
&jobsFlag,
|
||||
&editionFlag,
|
||||
&cli.BoolFlag{
|
||||
Name: "enterprise2",
|
||||
Usage: "Declare if the edition is enterprise2",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
@@ -86,7 +86,7 @@ func UploadPackages(c *cli.Context) error {
|
||||
distDir: distDir,
|
||||
}
|
||||
|
||||
if cfg.edition == config.EditionEnterprise2 {
|
||||
if cfg.edition == config.EditionEnterprise2 || c.Bool("enterprise2") {
|
||||
if releaseModeConfig.Buckets.ArtifactsEnterprise2 != "" {
|
||||
cfg.Config.Bucket = releaseModeConfig.Buckets.ArtifactsEnterprise2
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user