Files
grafana/scripts/drone/events/rrc-patch.star
Mariell Hoversholm 8598fa213a Drone: Delete migrated workflows (#106870)
* Drone: Remove verify_storybook pipeline

Already exists in GitHub Actions.

* Drone: Remove lint_backend pipeline

Already exists in GHA.

* Drone: Remove backend tests

These already exist in GitHub Actions.

* Drone: Remove shellcheck pipeline

* Drone: Remove unused images

* Drone: Remove lint_frontend pipeline

Already in GHA.

* Drone: Remove test_frontend pipeline

Already exists in GHA.

* Drone: Remove integration_benchmarks pipeline

This was last used in January. GHA does not have it, but it is relatively trivial to run locally.
2025-06-18 14:03:23 -05:00

48 lines
986 B
Plaintext

"""
This module returns all the pipelines used in the event of pushes to an RRC branch.
"""
load(
"scripts/drone/steps/lib.star",
"enterprise_downstream_step",
)
load(
"scripts/drone/utils/utils.star",
"pipeline",
)
ver_mode = "rrc"
trigger = {
"ref": {
"include": [
"refs/tags/rrc*",
],
},
"branch": [
"instant",
"fast",
"steady",
"slow",
],
}
def rrc_patch_pipelines():
pipelines = [
rrc_enterprise_downstream_pipeline(trigger = trigger),
]
return pipelines
def rrc_enterprise_downstream_pipeline(trigger):
# Triggers a downstream pipeline in the grafana-enterprise repository for the rrc branch
environment = {"EDITION": "oss"}
steps = [
enterprise_downstream_step(ver_mode = ver_mode),
]
return pipeline(
name = "rrc-trigger-downstream",
trigger = trigger,
steps = steps,
environment = environment,
)