CI: use base64 key in windows installer build step (#72413)

use base64 key
This commit is contained in:
Kevin Minehart 2023-07-27 01:31:35 -05:00 committed by GitHub
parent eaca6c3f49
commit b019ef9a89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -2994,7 +2994,7 @@ steps:
- windows-init - windows-init
environment: environment:
GCP_KEY: GCP_KEY:
from_secret: gcp_key from_secret: gcp_grafanauploads_base64
GITHUB_TOKEN: GITHUB_TOKEN:
from_secret: github_token from_secret: github_token
PRERELEASE_BUCKET: PRERELEASE_BUCKET:
@ -3543,7 +3543,7 @@ steps:
- windows-init - windows-init
environment: environment:
GCP_KEY: GCP_KEY:
from_secret: gcp_key from_secret: gcp_grafanauploads_base64
GITHUB_TOKEN: GITHUB_TOKEN:
from_secret: github_token from_secret: github_token
PRERELEASE_BUCKET: PRERELEASE_BUCKET:
@ -4292,7 +4292,7 @@ steps:
- windows-init - windows-init
environment: environment:
GCP_KEY: GCP_KEY:
from_secret: gcp_key from_secret: gcp_grafanauploads_base64
GITHUB_TOKEN: GITHUB_TOKEN:
from_secret: github_token from_secret: github_token
PRERELEASE_BUCKET: PRERELEASE_BUCKET:
@ -4970,6 +4970,6 @@ kind: secret
name: delivery-bot-app-private-key name: delivery-bot-app-private-key
--- ---
kind: signature kind: signature
hmac: b3a378789d0a84f8eedd22567d2ce7609cc9c079bdd58ea8e71d0d9456c423e8 hmac: cc3cdda004221d95f32b2753fa6c1d4fde277abaeee96ca6e6287b5c100fb52e
... ...

View File

@ -1362,7 +1362,7 @@ def get_windows_steps(ver_mode, bucket = "%PRERELEASE_BUCKET%"):
"windows-init", "windows-init",
], ],
"environment": { "environment": {
"GCP_KEY": from_secret("gcp_key"), "GCP_KEY": from_secret(gcp_grafanauploads_base64),
"PRERELEASE_BUCKET": from_secret(prerelease_bucket), "PRERELEASE_BUCKET": from_secret(prerelease_bucket),
"GITHUB_TOKEN": from_secret("github_token"), "GITHUB_TOKEN": from_secret("github_token"),
}, },