[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:
co-authored by
Dimitris Sotirakis
parent
6d10e72adb
commit
10c6036ed1
+5
-5
@@ -2583,7 +2583,7 @@ steps:
|
||||
- compile-build-cmd
|
||||
environment:
|
||||
GCP_KEY:
|
||||
from_secret: gcp_upload_artifacts_key
|
||||
from_secret: gcp_grafanauploads_base64
|
||||
PRERELEASE_BUCKET:
|
||||
from_secret: prerelease_bucket
|
||||
image: grafana/grafana-ci-deploy:1.3.3
|
||||
@@ -2594,7 +2594,7 @@ steps:
|
||||
- compile-build-cmd
|
||||
environment:
|
||||
GCP_KEY:
|
||||
from_secret: gcp_upload_artifacts_key
|
||||
from_secret: gcp_grafanauploads_base64
|
||||
PRERELEASE_BUCKET:
|
||||
from_secret: prerelease_bucket
|
||||
STATIC_ASSET_EDITIONS:
|
||||
@@ -2607,7 +2607,7 @@ steps:
|
||||
- compile-build-cmd
|
||||
environment:
|
||||
GCP_KEY:
|
||||
from_secret: gcp_upload_artifacts_key
|
||||
from_secret: gcp_grafanauploads_base64
|
||||
PRERELEASE_BUCKET:
|
||||
from_secret: prerelease_bucket
|
||||
image: grafana/grafana-ci-deploy:1.3.3
|
||||
@@ -2658,7 +2658,7 @@ steps:
|
||||
- yarn-install
|
||||
environment:
|
||||
GCP_KEY:
|
||||
from_secret: gcp_upload_artifacts_key
|
||||
from_secret: gcp_grafanauploads_base64
|
||||
PRERELEASE_BUCKET:
|
||||
from_secret: prerelease_bucket
|
||||
failure: ignore
|
||||
@@ -4546,6 +4546,6 @@ kind: secret
|
||||
name: delivery-bot-app-private-key
|
||||
---
|
||||
kind: signature
|
||||
hmac: 817f3bced5bee4efded1e879a1bd1a747d93ca412a2bbe3848434dde93bd6fdf
|
||||
hmac: 607c9baedb5ccffbd36a8819187ee80c4205356d89a3468bff4911c6ae7ab1ee
|
||||
|
||||
...
|
||||
|
||||
@@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user