mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
Bring back windows installers for main builds (#74698)
This commit is contained in:
parent
9c83dd43d9
commit
36728dd671
21
.drone.yml
21
.drone.yml
@ -2304,6 +2304,25 @@ steps:
|
|||||||
-OutFile grabpl.exe
|
-OutFile grabpl.exe
|
||||||
image: grafana/ci-wix:0.1.1
|
image: grafana/ci-wix:0.1.1
|
||||||
name: windows-init
|
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:
|
trigger:
|
||||||
branch: main
|
branch: main
|
||||||
event:
|
event:
|
||||||
@ -4723,6 +4742,6 @@ kind: secret
|
|||||||
name: gcr_credentials
|
name: gcr_credentials
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: e7a7b8ebee80baceff6c915e84e76f8f5e54565741f923e9e1e17f3f8880dce9
|
hmac: 58b77325696868ab394acaf1790f387278191c9494842d944eab1653d18ba70c
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -1294,6 +1294,7 @@ def get_windows_steps(ver_mode, bucket = "%PRERELEASE_BUCKET%"):
|
|||||||
if ver_mode in (
|
if ver_mode in (
|
||||||
"release",
|
"release",
|
||||||
"release-branch",
|
"release-branch",
|
||||||
|
"main",
|
||||||
):
|
):
|
||||||
gcp_bucket = "{}/artifacts/downloads".format(bucket)
|
gcp_bucket = "{}/artifacts/downloads".format(bucket)
|
||||||
if ver_mode == "release":
|
if ver_mode == "release":
|
||||||
|
Loading…
Reference in New Issue
Block a user