mirror of
https://github.com/grafana/grafana.git
synced 2025-07-28 09:32:23 +08:00

* 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.
47 lines
903 B
Plaintext
47 lines
903 B
Plaintext
"""
|
|
This module returns the pipeline used for triggering a downstream pipeline for Grafana Enterprise.
|
|
"""
|
|
|
|
load(
|
|
"scripts/drone/steps/lib.star",
|
|
"enterprise_downstream_step",
|
|
)
|
|
load(
|
|
"scripts/drone/utils/utils.star",
|
|
"pipeline",
|
|
)
|
|
|
|
trigger = {
|
|
"event": [
|
|
"push",
|
|
],
|
|
"branch": "main",
|
|
"paths": {
|
|
"exclude": [
|
|
"*.md",
|
|
"docs/**",
|
|
"latest.json",
|
|
],
|
|
},
|
|
"repo": [
|
|
"grafana/grafana",
|
|
],
|
|
}
|
|
|
|
def enterprise_downstream_pipeline():
|
|
environment = {"EDITION": "oss"}
|
|
steps = [
|
|
enterprise_downstream_step(ver_mode = "main"),
|
|
]
|
|
deps = [
|
|
"main-build-e2e-publish",
|
|
]
|
|
return pipeline(
|
|
name = "main-trigger-downstream",
|
|
trigger = trigger,
|
|
services = [],
|
|
steps = steps,
|
|
depends_on = deps,
|
|
environment = environment,
|
|
)
|