[v9.3.x] CI: Remove variants arg from package step (#62858) (#62998)

CI: Remove variants arg from `package` step (#62858)

* Remove variants arg from package step

# Conflicts:
#	.drone.yml

* Fix starlark lint

* Default to releaseModeConfig.Variants

* Check for empty variants arg

(cherry picked from commit e5c48ac945)

# Conflicts:
#	.drone.yml
This commit is contained in:
Dimitris Sotirakis
2023-02-07 11:18:54 +02:00
committed by GitHub
parent 5860269b82
commit 8faaacd80d
5 changed files with 15 additions and 28 deletions
+1 -9
View File
@@ -62,7 +62,6 @@ def build_e2e(trigger, ver_mode):
]
build_steps = []
variants = None
if ver_mode == "pr":
build_steps.extend(
@@ -72,20 +71,13 @@ def build_e2e(trigger, ver_mode):
],
)
variants = [
"linux-amd64",
"linux-amd64-musl",
"darwin-amd64",
"windows-amd64",
]
build_steps.extend(
[
build_backend_step(edition = edition, ver_mode = ver_mode),
build_frontend_step(edition = edition, ver_mode = ver_mode),
build_frontend_package_step(edition = edition, ver_mode = ver_mode),
build_plugins_step(edition = edition, ver_mode = ver_mode),
package_step(edition = edition, variants = variants, ver_mode = ver_mode),
package_step(edition = edition, ver_mode = ver_mode),
grafana_server_step(edition = edition),
e2e_tests_step("dashboards-suite"),
e2e_tests_step("smoke-tests-suite"),