mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 08:18:10 -05:00
Storybook: Replace gsutil rsync with gsutil cp when copying artifacts (#47335)
* Replace gsutil rsync with cp * Sync drone * Remove folder before uploading artifacts
This commit is contained in:
@@ -273,8 +273,8 @@ def store_storybook_step(edition, ver_mode, trigger=None):
|
||||
'printenv GCP_KEY | base64 -d > /tmp/gcpkey.json',
|
||||
'gcloud auth activate-service-account --key-file=/tmp/gcpkey.json',
|
||||
] + [
|
||||
'gsutil -m rsync -d -r ./packages/grafana-ui/dist/storybook gs://$${{PRERELEASE_BUCKET}}/artifacts/storybook/{}'.format(
|
||||
c)
|
||||
'gsutil -m rm -r gs://$${{PRERELEASE_BUCKET}}/artifacts/storybook/{} && gsutil -m cp -r ./packages/grafana-ui/dist/storybook/* gs://$${{PRERELEASE_BUCKET}}/artifacts/storybook/{}'.format(
|
||||
c, c)
|
||||
for c in channels
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user