[v9.5.x] CI: Move windows-tests into promotion pipeline (#68218) (#68231)

(cherry picked from commit acd02e8a48)

Backport of https://github.com/grafana/grafana/pull/68218
This commit is contained in:
Horst Gutmann
2023-05-10 14:59:50 +00:00
committed by GitHub
parent 3504573574
commit f1d95b2157
7 changed files with 84 additions and 425 deletions
+13 -1
View File
@@ -686,7 +686,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():
@@ -1361,6 +1360,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.