Fix enterprise autodeploy (#34889) (#35037)

Config file needs to be copied over

No-op for OSS grafana

(cherry picked from commit 22544bd135)

Co-authored-by: Julien Duchesne <julienduchesne@live.com>
This commit is contained in:
Grot (@grafanabot)
2021-06-01 14:00:27 +02:00
committed by GitHub
co-authored by Julien Duchesne
parent a606cb9b1e
commit f99e87f2ed
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -1097,6 +1097,7 @@ steps:
- rmdir bin
- mv grafana-enterprise /tmp/
- /tmp/grabpl init-enterprise /tmp/grafana-enterprise ${DRONE_TAG}
- mv /tmp/grafana-enterprise/deployment_tools_config.json deployment_tools_config.json
- mkdir bin
- mv /tmp/grabpl bin/
- ./bin/grabpl verify-drone
@@ -2041,6 +2042,7 @@ steps:
- rmdir bin
- mv grafana-enterprise /tmp/
- /tmp/grabpl init-enterprise /tmp/grafana-enterprise
- mv /tmp/grafana-enterprise/deployment_tools_config.json deployment_tools_config.json
- mkdir bin
- mv /tmp/grabpl bin/
- ./bin/grabpl verify-drone
@@ -2950,6 +2952,7 @@ steps:
- rmdir bin
- mv grafana-enterprise /tmp/
- /tmp/grabpl init-enterprise /tmp/grafana-enterprise
- mv /tmp/grafana-enterprise/deployment_tools_config.json deployment_tools_config.json
- mkdir bin
- mv /tmp/grabpl bin/
- ./bin/grabpl verify-drone
+1
View File
@@ -161,6 +161,7 @@ def init_steps(edition, platform, ver_mode, is_downstream=False, install_deps=Tr
'rmdir bin',
'mv grafana-enterprise /tmp/',
'/tmp/grabpl init-enterprise /tmp/grafana-enterprise{}'.format(source_commit),
'mv /tmp/grafana-enterprise/deployment_tools_config.json deployment_tools_config.json',
'mkdir bin',
'mv /tmp/grabpl bin/'
] + common_cmds,