[v10.1.x] CI: Move npm token to Vault (#73455)

CI: Move npm token to Vault (#73407)

(cherry picked from commit c86a73c794)
This commit is contained in:
Horst Gutmann
2023-08-18 08:59:18 +03:00
committed by GitHub
parent af5bfce16b
commit 182837279b
4 changed files with 18 additions and 3 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ load(
"gcp_grafanauploads",
"gcp_grafanauploads_base64",
"gcp_upload_artifacts_key",
"npm_token",
"prerelease_bucket",
)
load(
@@ -1140,7 +1141,7 @@ def release_canary_npm_packages_step(trigger = None):
"image": images["build_image"],
"depends_on": end_to_end_tests_deps(),
"environment": {
"NPM_TOKEN": from_secret("npm_token"),
"NPM_TOKEN": from_secret(npm_token),
},
"commands": [
"./scripts/publish-npm-packages.sh --dist-tag 'canary' --registry 'https://registry.npmjs.org'",