CI: Add enterprise2 flag to unblock enterprise2 image deployments (#59904)

Add hacky flag to unblock enterprise2
This commit is contained in:
Dimitris Sotirakis
2022-12-06 18:42:11 +02:00
committed by GitHub
parent 1dbc22d18b
commit bc5badbcd8
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -168,6 +168,10 @@ func main() {
Flags: []cli.Flag{
&jobsFlag,
&editionFlag,
&cli.BoolFlag{
Name: "enterprise2",
Usage: "Declare if the edition is enterprise2",
},
},
},
{
+1 -1
View File
@@ -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 {