Drone: Fix Drone config verification for enterprise on Windows (#29118) (#29119)

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
(cherry picked from commit 01df8f177c)

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
Grot (@grafanabot)andArve Knudsen authored and GitHub committed 2020-11-14 12:04:03 +01:00
1 parent d05c3462da
commit c88fc42fc6
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -924,7 +924,6 @@ def get_windows_steps(edition, ver_mode, is_downstream=False):
'Invoke-WebRequest https://grafana-downloads.storage.googleapis.com/grafana-build-pipeline/v{}/windows/grabpl.exe -OutFile grabpl.exe'.format(grabpl_version),
]
clone_cmds = [
'.\\grabpl.exe verify-drone',
'git clone "https://$$env:GITHUB_TOKEN@github.com/grafana/grafana-enterprise.git"',
]
if not is_downstream:
@@ -953,6 +952,7 @@ def get_windows_steps(edition, ver_mode, is_downstream=False):
'rm -force grabpl.exe',
'C:\\App\\grabpl.exe init-enterprise C:\\App\\grafana-enterprise{}'.format(source_commit),
'cp C:\\App\\grabpl.exe grabpl.exe',
'.\\grabpl.exe verify-drone',
])
return steps