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

(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:57:57 +03:00
committed by GitHub
parent e03b8d6d37
commit f64a005279
7 changed files with 84 additions and 304 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.