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
+3 -3
View File
@@ -974,7 +974,7 @@ def store_packages_step(edition, ver_mode, is_downstream=False):
'name': 'store-packages-{}'.format(edition),
'image': publish_image,
'depends_on': [
'initialize',
'grabpl',
],
'environment': {
'GRAFANA_COM_API_KEY': from_secret('grafana_api_key'),
@@ -1003,7 +1003,7 @@ def get_windows_steps(edition, ver_mode, is_downstream=False):
else:
init_cmds.extend([
'$$ProgressPreference = "SilentlyContinue"',
'Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v{}/windows/grabpl.exe -OutFile grabpl.exe'.format(
'Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/{}/windows/grabpl.exe -OutFile grabpl.exe'.format(
grabpl_version),
])
steps = [
@@ -1077,7 +1077,7 @@ def get_windows_steps(edition, ver_mode, is_downstream=False):
# For enterprise, we have to clone both OSS and enterprise and merge the latter into the former
download_grabpl_step_cmds = [
'$$ProgressPreference = "SilentlyContinue"',
'Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v{}/windows/grabpl.exe -OutFile grabpl.exe'.format(
'Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/{}/windows/grabpl.exe -OutFile grabpl.exe'.format(
grabpl_version),
]
clone_cmds = [