Fix enterprise autodeploy (#34889)

Config file needs to be copied over

No-op for OSS grafana
This commit is contained in:
Julien Duchesne 2021-06-01 07:29:52 -04:00 committed by GitHub
parent b211b3a63c
commit 22544bd135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -1097,6 +1097,7 @@ steps:
- rmdir bin - rmdir bin
- mv grafana-enterprise /tmp/ - mv grafana-enterprise /tmp/
- /tmp/grabpl init-enterprise /tmp/grafana-enterprise ${DRONE_TAG} - /tmp/grabpl init-enterprise /tmp/grafana-enterprise ${DRONE_TAG}
- mv /tmp/grafana-enterprise/deployment_tools_config.json deployment_tools_config.json
- mkdir bin - mkdir bin
- mv /tmp/grabpl bin/ - mv /tmp/grabpl bin/
- ./bin/grabpl verify-drone - ./bin/grabpl verify-drone
@ -2041,6 +2042,7 @@ steps:
- rmdir bin - rmdir bin
- mv grafana-enterprise /tmp/ - mv grafana-enterprise /tmp/
- /tmp/grabpl init-enterprise /tmp/grafana-enterprise - /tmp/grabpl init-enterprise /tmp/grafana-enterprise
- mv /tmp/grafana-enterprise/deployment_tools_config.json deployment_tools_config.json
- mkdir bin - mkdir bin
- mv /tmp/grabpl bin/ - mv /tmp/grabpl bin/
- ./bin/grabpl verify-drone - ./bin/grabpl verify-drone
@ -2950,6 +2952,7 @@ steps:
- rmdir bin - rmdir bin
- mv grafana-enterprise /tmp/ - mv grafana-enterprise /tmp/
- /tmp/grabpl init-enterprise /tmp/grafana-enterprise - /tmp/grabpl init-enterprise /tmp/grafana-enterprise
- mv /tmp/grafana-enterprise/deployment_tools_config.json deployment_tools_config.json
- mkdir bin - mkdir bin
- mv /tmp/grabpl bin/ - mv /tmp/grabpl bin/
- ./bin/grabpl verify-drone - ./bin/grabpl verify-drone

View File

@ -161,6 +161,7 @@ def init_steps(edition, platform, ver_mode, is_downstream=False, install_deps=Tr
'rmdir bin', 'rmdir bin',
'mv grafana-enterprise /tmp/', 'mv grafana-enterprise /tmp/',
'/tmp/grabpl init-enterprise /tmp/grafana-enterprise{}'.format(source_commit), '/tmp/grabpl init-enterprise /tmp/grafana-enterprise{}'.format(source_commit),
'mv /tmp/grafana-enterprise/deployment_tools_config.json deployment_tools_config.json',
'mkdir bin', 'mkdir bin',
'mv /tmp/grabpl bin/' 'mv /tmp/grabpl bin/'
] + common_cmds, ] + common_cmds,