CI: Add new RRC pipeline (#90731)

* CI: Add new RRC pipeline
This commit is contained in:
João Calisto
2024-07-30 14:01:10 +01:00
committed by GitHub
parent ad770cf1e5
commit 0a561d22fb
4 changed files with 623 additions and 2 deletions
+4 -1
View File
@@ -172,7 +172,7 @@ def enterprise_downstream_step(ver_mode):
Drone step.
"""
repo = "grafana/grafana-enterprise@"
if ver_mode == "pr":
if ver_mode == "pr" or ver_mode == "rrc":
repo += "${DRONE_SOURCE_BRANCH}"
else:
repo += "main"
@@ -197,6 +197,9 @@ def enterprise_downstream_step(ver_mode):
step.update({"failure": "ignore"})
step["settings"]["params"].append("OSS_PULL_REQUEST=${DRONE_PULL_REQUEST}")
if ver_mode == "rrc":
step["settings"]["params"].append("SOURCE_TAG=${DRONE_TAG}")
return step
def validate_modfile_step():