mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
CDN: Add CDN upload step to enterprise and release pipelines (#31058)
* CDN: Fixing drone CI config * was in wrong dir when I executed command * removed whitespace * Update path * Update Drone master and enterprise piplelines with CDN Upload * Update test * removed whitespace * Go back to public folder defined * updated build-pipeline * Updated drone * wrong version
This commit is contained in:
+7
-3
@@ -1,4 +1,4 @@
|
||||
grabpl_version = '0.5.37'
|
||||
grabpl_version = '0.5.38'
|
||||
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'
|
||||
@@ -310,11 +310,15 @@ def publish_storybook_step(edition, ver_mode):
|
||||
}
|
||||
|
||||
def upload_cdn(edition):
|
||||
sfx = ''
|
||||
if edition == 'enterprise2':
|
||||
sfx = '-{}'.format(edition)
|
||||
|
||||
return {
|
||||
'name': 'upload-cdn-assets',
|
||||
'name': 'upload-cdn-assets' + sfx,
|
||||
'image': publish_image,
|
||||
'depends_on': [
|
||||
'package',
|
||||
'package' + sfx,
|
||||
],
|
||||
'environment': {
|
||||
'GCP_GRAFANA_UPLOAD_KEY': {
|
||||
|
||||
Reference in New Issue
Block a user