Compare commits

...

3 Commits

Author SHA1 Message Date
Josh Matthews
843f301ca4 Force python 2021-02-05 20:33:45 -05:00
Josh Matthews
e4cd84bed2 Slim down Windows unit test job. 2021-02-05 17:29:14 -05:00
Josh Matthews
a95b57bb1b Add administrator privileges to Windows TC workers. 2021-02-05 17:27:59 -05:00
2 changed files with 10 additions and 7 deletions

View File

@@ -57,7 +57,7 @@ def tasks(task_for):
"try-mac": [macos_unit],
"try-linux": [linux_tidy_unit, linux_docs_check, linux_release],
"try-windows": [windows_unit, windows_arm64, windows_uwp_x64],
"try-windows": [windows_unit],
"try-arm": [windows_arm64],
"try-wpt": [linux_wpt],
"try-wpt-2020": [linux_wpt_layout_2020],
@@ -372,15 +372,14 @@ def windows_unit(cached=True, rdp=False):
.with_script(
# Not necessary as this would be done at the start of `build`,
# but this allows timing it separately.
"mach fetch",
"python mach fetch",
"mach build --dev",
"python mach build --dev",
"mach test-unit",
"mach smoketest --angle",
"python mach smoketest --angle",
"mach package --dev",
"mach build --dev --libsimpleservo",
"python mach package --dev",
"python mach build --dev --libsimpleservo",
# The GStreamer plugin currently doesn't support Windows
# https://github.com/servo/servo/issues/25353
# "mach build --dev -p servo-gst-plugin",

View File

@@ -474,9 +474,13 @@ class WindowsGenericWorkerTask(GenericWorkerTask):
if self.rdp_info_artifact_name:
rdp_scope = "generic-worker:allow-rdp:%s/%s" % (self.provisioner_id, self.worker_type)
self.scopes.append(rdp_scope)
self.scopes.append("generic-worker:os-group:proj-servo/win2016/Administrators")
self.scopes.append("generic-worker:run-as-administrator:proj-servo/win2016")
self.with_features("runAsAdministrator")
return dict_update_if_truthy(
super().build_worker_payload(),
rdpInfo=self.rdp_info_artifact_name,
osGroups=["Administrators"]
)
def with_rdp_info(self, *, artifact_name):