CDN: Adds uppload to CDN step to drone CI (#30879)
* CDN: Adds uppload to CDN step to drone CI * Bump grabpl * updated sh files * crying * add init dependency * Removed last test to get this to work
This commit is contained in:
+18
-1
@@ -1,4 +1,4 @@
|
||||
grabpl_version = '0.5.36'
|
||||
grabpl_version = '0.5.37'
|
||||
build_image = 'grafana/build-container:1.3.2'
|
||||
publish_image = 'grafana/grafana-ci-deploy:1.3.1'
|
||||
grafana_docker_image = 'grafana/drone-grafana-docker:0.3.2'
|
||||
@@ -309,6 +309,23 @@ def publish_storybook_step(edition, ver_mode):
|
||||
'commands': commands,
|
||||
}
|
||||
|
||||
def upload_cdn(edition):
|
||||
return {
|
||||
'name': 'upload-cdn-assets',
|
||||
'image': publish_image,
|
||||
'depends_on': [
|
||||
'package',
|
||||
],
|
||||
'environment': {
|
||||
'GCP_KEY': {
|
||||
'from_secret': 'gcp_key',
|
||||
},
|
||||
},
|
||||
'commands': [
|
||||
'./bin/grabpl upload-cdn --edition {} --bucket "grafana-static-assets"'.format(edition),
|
||||
],
|
||||
}
|
||||
|
||||
def build_backend_step(edition, ver_mode, variants=None, is_downstream=False):
|
||||
variants_str = ''
|
||||
if variants:
|
||||
|
||||
Reference in New Issue
Block a user