[v10.0.x] CI: Update secrets for publishing steps (#73661)

CI: Update secrets for publishing steps (#73658)

Update secrets

(cherry picked from commit de118a3736)

# Conflicts:
#	.drone.yml
This commit is contained in:
Dimitris Sotirakis
2023-08-23 11:29:56 +03:00
committed by GitHub
parent df7a11ee0f
commit a9e979b354
2 changed files with 13 additions and 13 deletions
+7 -7
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",
)
@@ -93,7 +93,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}"],
@@ -109,7 +109,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}"],
@@ -270,7 +270,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": [
@@ -284,7 +284,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"),
},
@@ -299,7 +299,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": [
@@ -437,7 +437,7 @@ def integration_test_pipelines():
def verify_release_pipeline(
name = "verify-prerelease-assets",
bucket = from_secret(prerelease_bucket),
gcp_key = from_secret(gcp_upload_artifacts_key),
gcp_key = from_secret(gcp_grafanauploads_base64),
version = "${DRONE_TAG}",
trigger = release_trigger,
depends_on = [