aboutsummaryrefslogtreecommitdiffstats
path: root/etc/taskcluster/decision_task.py
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2020-03-20 19:27:17 +0100
committerSimon Sapin <simon.sapin@exyr.org>2020-03-20 19:45:50 +0100
commit44c72413f9cc9a17aaed890b7c94af848b411e69 (patch)
tree1194e70786286dd09137c9468357a02728d5eb1f /etc/taskcluster/decision_task.py
parent95cd67bb951fee1d7bbf4b903c61b87f9d3d9cda (diff)
downloadservo-44c72413f9cc9a17aaed890b7c94af848b411e69.tar.gz
servo-44c72413f9cc9a17aaed890b7c94af848b411e69.zip
Add Layout 2020 reftests regression report
This shows WPT reftests that fail in Servo with Layout 2020 but pass with Layout 2013, together with screenshots of the corresponding runs and HTML source code for the test and its reference. https://community-tc.services.mozilla.com/api/index/v1/task/project.servo.layout-2020-regressions-report/artifacts/public/regressions.html redirects to the latest report for the `master` branch.
Diffstat (limited to 'etc/taskcluster/decision_task.py')
-rw-r--r--etc/taskcluster/decision_task.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/etc/taskcluster/decision_task.py b/etc/taskcluster/decision_task.py
index 951cebe7afa..29d69034e00 100644
--- a/etc/taskcluster/decision_task.py
+++ b/etc/taskcluster/decision_task.py
@@ -48,6 +48,7 @@ def tasks(task_for):
],
"master": [
upload_docs,
+ layout_2020_regressions_report,
],
# The "try-*" keys match those in `servo_try_choosers` in Homu’s config:
@@ -247,6 +248,21 @@ def upload_docs():
)
+def layout_2020_regressions_report():
+ return (
+ linux_task("Layout 2020 regressions report")
+ .with_treeherder("Linux x64", "RegressionsReport")
+ .with_dockerfile(dockerfile_path("base"))
+ .with_repo_bundle()
+ .with_script(
+ "python3 etc/layout-2020-regressions/gen.py %s %s"
+ % (CONFIG.tree_hash(), CONFIG.git_sha)
+ )
+ .with_index_and_artifacts_expire_in(log_artifacts_expire_in)
+ .with_artifacts("/repo/etc/layout-2020-regressions/regressions.html")
+ .find_or_create("layout-2020-regressions-report")
+ )
+
def macos_unit():
return (
macos_build_task("Dev build + unit tests")