CI: add promotion step for publish grafanacom (#93851)

* add promotion step for publish grafanacom

* publish-grafanacom depends on compile-build-cmd

* use DRONE_TAG

* add docstring comment for depends_on
This commit is contained in:
Kevin Minehart
2024-09-26 22:19:19 +01:00
committed by GitHub
parent 6951feff88
commit a847608061
3 changed files with 59 additions and 6 deletions
+11
View File
@@ -242,6 +242,17 @@ def publish_packages_pipeline():
depends_on = deps,
environment = {"EDITION": "oss"},
),
pipeline(
name = "publish-grafanacom",
trigger = {
"event": ["promote"],
"target": "publish-grafanacom",
},
steps = [
compile_build_cmd(),
publish_grafanacom_step(ver_mode = "release", depends_on = ["compile-build-cmd"]),
],
),
]
def publish_npm_pipelines():