[v10.0.x] Nightlies: Bring back windows installers for main builds (#74707)

Bring back windows installers for main builds (#74698)

(cherry picked from commit 36728dd671)

# Conflicts:
#	.drone.yml
This commit is contained in:
Dimitris Sotirakis
2023-09-12 11:56:18 +03:00
committed by GitHub
parent 030520a40d
commit c79ccb1c9e
2 changed files with 21 additions and 1 deletions
+20 -1
View File
@@ -2013,6 +2013,25 @@ steps:
-OutFile grabpl.exe
image: grafana/ci-wix:0.1.1
name: windows-init
- commands:
- $$gcpKey = $$env:GCP_KEY
- '[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($$gcpKey))
> gcpkey.json'
- dos2unix gcpkey.json
- gcloud auth activate-service-account --key-file=gcpkey.json
- rm gcpkey.json
- cp C:\App\nssm-2.24.zip .
depends_on:
- windows-init
environment:
GCP_KEY:
from_secret: gcp_grafanauploads_base64
GITHUB_TOKEN:
from_secret: github_token
PRERELEASE_BUCKET:
from_secret: prerelease_bucket
image: grafana/ci-wix:0.1.1
name: build-windows-installer
trigger:
branch: main
event:
@@ -4336,6 +4355,6 @@ kind: secret
name: gcr_credentials
---
kind: signature
hmac: 51b260e286757673bae50d8b9320fe2f613e8690e0876563688f819fd4f749c1
hmac: bcbe7170dd04ca1254d651b454f451c5da4082de9a90c4f474478b3e685b361d
...
+1
View File
@@ -1234,6 +1234,7 @@ def get_windows_steps(ver_mode, bucket = "%PRERELEASE_BUCKET%"):
if ver_mode in (
"release",
"release-branch",
"main",
):
gcp_bucket = "{}/artifacts/downloads".format(bucket)
if ver_mode == "release":