CI: Automate Grafana releases (#43897) (#43911)

* CI: Automate releases

* Update grabpl version

(cherry picked from commit 4f47832bac)
This commit is contained in:
Dimitris Sotirakis
2022-01-12 10:40:11 +01:00
committed by GitHub
parent c45313a268
commit 6217739bc9
5 changed files with 688 additions and 46 deletions
+6 -1
View File
@@ -7,7 +7,7 @@ load(
load('scripts/drone/vault.star', 'from_secret', 'github_token', 'pull_secret', 'drone_token')
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)