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

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
Arve Knudsen
2020-11-14 11:44:56 +01:00
committed by GitHub
parent bdc6e2fe0a
commit 01df8f177c
2 changed files with 4 additions and 4 deletions

View File

@ -930,7 +930,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:
@ -959,6 +958,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