CI: Move store-storybook to OSS (#55212)

* Move store-storybook to OSS

* grabpl -> build for store-storybook command

* Replace zerolog with builtin log

* Remove flags from store-storybook

* Fix lint
This commit is contained in:
Dimitris Sotirakis
2022-09-15 11:06:43 +03:00
committed by GitHub
parent 7700b529f9
commit 4e73766067
6 changed files with 649 additions and 9 deletions

View File

@@ -266,13 +266,13 @@ def store_storybook_step(edition, ver_mode, trigger=None):
commands = []
if ver_mode == 'release':
commands.extend([
'./bin/grabpl store-storybook --deployment latest --src-bucket grafana-prerelease --src-dir artifacts/storybook',
'./bin/grabpl store-storybook --deployment ${DRONE_TAG} --src-bucket grafana-prerelease --src-dir artifacts/storybook',
'./bin/build store-storybook --deployment latest',
'./bin/build store-storybook --deployment ${DRONE_TAG}',
])
else:
# main pipelines should deploy storybook to grafana-storybook/canary public bucket
commands = ['./bin/grabpl store-storybook --deployment canary --src-bucket grafana-storybook', ]
commands = ['./bin/build store-storybook --deployment canary', ]
step = {
'name': 'store-storybook',