grafana/scripts/drone/version.star
Dan Cech 440d8a3d88
Build: Drone starlark file cleanup (#59919)
* format drone starlark files with black

* clean up unused params

* more simplification

* more cleanup

* more cleanup
2022-12-07 09:13:57 +02:00

18 lines
444 B
Plaintext

load(
'scripts/drone/events/release.star',
'oss_pipelines',
'enterprise_pipelines',
'enterprise2_pipelines',
)
ver_mode = 'release-branch'
trigger = {'ref': ['refs/heads/v[0-9]*']}
def version_branch_pipelines():
return (
oss_pipelines(ver_mode=ver_mode, trigger=trigger)
+ enterprise_pipelines(ver_mode=ver_mode, trigger=trigger)
+ enterprise2_pipelines(ver_mode=ver_mode, trigger=trigger)
)