[v10.0.x] CI: Move windows-tests into promotion pipeline (#68218) (#68229)

(cherry picked from commit acd02e8a48)

Backport of https://github.com/grafana/grafana/pull/68218
This commit is contained in:
Horst Gutmann
2023-05-10 17:32:21 +03:00
committed by GitHub
parent 1a066c7859
commit 0c44250bcb
7 changed files with 84 additions and 304 deletions
+13 -1
View File
@@ -688,7 +688,6 @@ def test_backend_step(image = build_image):
def windows_test_backend_step():
step = test_backend_step(image = windows_go_image)
step["failure"] = "ignore"
return step
def test_backend_integration_step():
@@ -1371,6 +1370,19 @@ def publish_linux_packages_step(edition, package_manager = "deb"):
},
}
def windows_clone_step():
return {
"name": "clone",
"image": wix_image,
"environment": {
"GITHUB_TOKEN": from_secret("github_token"),
},
"commands": [
'git clone "https://$$env:GITHUB_TOKEN@github.com/$$env:DRONE_REPO.git" .',
"git checkout -f $$env:DRONE_COMMIT",
],
}
def get_windows_steps(edition, ver_mode):
"""Generate the list of Windows steps.