Publish non-release CDN assets (#43087) (#43091)

(cherry picked from commit 555f5a49ce)

Co-authored-by: malcolmholmes <42545407+malcolmholmes@users.noreply.github.com>
This commit is contained in:
Carl Bergquist
2021-12-14 13:26:50 +01:00
committed by GitHub
co-authored by malcolmholmes
parent 41e812bced
commit 92859ce0e5
3 changed files with 10 additions and 5 deletions
+6 -1
View File
@@ -292,7 +292,12 @@ def publish_storybook_step(edition, ver_mode):
}
def upload_cdn_step(edition):
def upload_cdn_step(edition, ver_mode):
if ver_mode == "release":
bucket = "$${PRERELEASE_BUCKET}/artifacts/static-assets"
else:
bucket = "grafana-static-assets"
deps = []
if edition in 'enterprise2':
deps.extend([