[v10.1.x] CI: Update secrets for publishing steps (#73660)

CI: Update secrets for publishing steps (#73658)

Update secrets

(cherry picked from commit de118a3736)

Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
This commit is contained in:
Horst Gutmann
2023-08-23 11:26:23 +03:00
committed by GitHub
co-authored by Dimitris Sotirakis
parent 6d10e72adb
commit 10c6036ed1
2 changed files with 11 additions and 11 deletions
+6 -6
View File
@@ -54,7 +54,7 @@ load(
load(
"scripts/drone/vault.star",
"from_secret",
"gcp_upload_artifacts_key",
"gcp_grafanauploads_base64",
"npm_token",
"prerelease_bucket",
"rgm_gcp_key_base64",
@@ -94,7 +94,7 @@ def store_npm_packages_step():
"build-frontend-packages",
],
"environment": {
"GCP_KEY": from_secret(gcp_upload_artifacts_key),
"GCP_KEY": from_secret(gcp_grafanauploads_base64),
"PRERELEASE_BUCKET": from_secret(prerelease_bucket),
},
"commands": ["./bin/build artifacts npm store --tag ${DRONE_TAG}"],
@@ -110,7 +110,7 @@ def retrieve_npm_packages_step():
],
"failure": "ignore",
"environment": {
"GCP_KEY": from_secret(gcp_upload_artifacts_key),
"GCP_KEY": from_secret(gcp_grafanauploads_base64),
"PRERELEASE_BUCKET": from_secret(prerelease_bucket),
},
"commands": ["./bin/build artifacts npm retrieve --tag ${DRONE_TAG}"],
@@ -272,7 +272,7 @@ def publish_artifacts_step():
"name": "publish-artifacts",
"image": images["publish_image"],
"environment": {
"GCP_KEY": from_secret(gcp_upload_artifacts_key),
"GCP_KEY": from_secret(gcp_grafanauploads_base64),
"PRERELEASE_BUCKET": from_secret("prerelease_bucket"),
},
"commands": [
@@ -286,7 +286,7 @@ def publish_static_assets_step():
"name": "publish-static-assets",
"image": images["publish_image"],
"environment": {
"GCP_KEY": from_secret(gcp_upload_artifacts_key),
"GCP_KEY": from_secret(gcp_grafanauploads_base64),
"PRERELEASE_BUCKET": from_secret("prerelease_bucket"),
"STATIC_ASSET_EDITIONS": from_secret("static_asset_editions"),
},
@@ -301,7 +301,7 @@ def publish_storybook_step():
"name": "publish-storybook",
"image": images["publish_image"],
"environment": {
"GCP_KEY": from_secret(gcp_upload_artifacts_key),
"GCP_KEY": from_secret(gcp_grafanauploads_base64),
"PRERELEASE_BUCKET": from_secret("prerelease_bucket"),
},
"commands": [