CI: Fix npm canary release (#74915)

Install bash on this step
This commit is contained in:
Kevin Minehart 2023-09-14 08:59:34 -05:00 committed by GitHub
parent 84d35e9f0b
commit 1ee485ac43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -1965,6 +1965,7 @@ steps:
repo: repo:
- grafana/grafana - grafana/grafana
- commands: - commands:
- apk add --update bash
- ./scripts/publish-npm-packages.sh --dist-tag 'canary' --registry 'https://registry.npmjs.org' - ./scripts/publish-npm-packages.sh --dist-tag 'canary' --registry 'https://registry.npmjs.org'
depends_on: depends_on:
- end-to-end-tests-dashboards-suite - end-to-end-tests-dashboards-suite
@ -4189,6 +4190,6 @@ kind: secret
name: gcr_credentials name: gcr_credentials
--- ---
kind: signature kind: signature
hmac: dd510a5bc713ecde460082403f309b93dcdcb823368e642bac07861eddbf051e hmac: dd88ea6f6baa75d83672c61478b2e79781308249016956d863562035550b006e
... ...

View File

@ -955,6 +955,7 @@ def release_canary_npm_packages_step(trigger = None):
"NPM_TOKEN": from_secret(npm_token), "NPM_TOKEN": from_secret(npm_token),
}, },
"commands": [ "commands": [
"apk add --update bash",
"./scripts/publish-npm-packages.sh --dist-tag 'canary' --registry 'https://registry.npmjs.org'", "./scripts/publish-npm-packages.sh --dist-tag 'canary' --registry 'https://registry.npmjs.org'",
], ],
} }