CI: Automate Grafana releases (#43897)

* CI: Automate releases

* Update grabpl version
This commit is contained in:
Dimitris Sotirakis
2022-01-11 16:28:29 +02:00
committed by GitHub
parent 8271bc73f9
commit 4f47832bac
5 changed files with 700 additions and 74 deletions
+6 -1
View File
@@ -10,7 +10,7 @@ failure_template = 'Build {{build.number}} failed for commit: <https://github.co
drone_change_template = '`.drone.yml` and `starlark` files have been changed on the OSS repo, by: {{build.author}}. \nBranch: <https://github.com/{{ repo.owner }}/{{ repo.name }}/commits/{{ build.branch }}|{{ build.branch }}>\nCommit hash: <https://github.com/{{repo.owner}}/{{repo.name}}/commit/{{build.commit}}|{{ truncate build.commit 8 }}>'
def pipeline(
name, edition, trigger, steps, services=[], platform='linux', depends_on=[], volumes=[],
name, edition, trigger, steps, services=[], platform='linux', depends_on=[], environment=None, volumes=[],
):
if platform != 'windows':
platform_conf = {
@@ -48,6 +48,11 @@ def pipeline(
}],
'depends_on': depends_on,
}
if environment:
pipeline.update({
'environment': environment,
})
pipeline['volumes'].extend(volumes)
pipeline.update(platform_conf)