mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Generate Layout 2020 regression report more than once
This commit is contained in:
parent
494e28bbcd
commit
f524363667
2 changed files with 7 additions and 2 deletions
|
@ -265,7 +265,8 @@ def layout_2020_regressions_report():
|
||||||
)
|
)
|
||||||
.with_index_and_artifacts_expire_in(log_artifacts_expire_in)
|
.with_index_and_artifacts_expire_in(log_artifacts_expire_in)
|
||||||
.with_artifacts("/repo/tests/wpt/reftests-report/report.html")
|
.with_artifacts("/repo/tests/wpt/reftests-report/report.html")
|
||||||
.find_or_create("layout-2020-regressions-report")
|
.with_index_at("layout-2020-regressions-report")
|
||||||
|
.create()
|
||||||
)
|
)
|
||||||
|
|
||||||
def macos_unit():
|
def macos_unit():
|
||||||
|
|
|
@ -157,6 +157,10 @@ class Task:
|
||||||
|
|
||||||
with_extra = chaining(update_attr, "extra")
|
with_extra = chaining(update_attr, "extra")
|
||||||
|
|
||||||
|
def with_index_at(self, index_path):
|
||||||
|
self.routes.append("index.%s.%s" % (CONFIG.index_prefix, index_path))
|
||||||
|
return self
|
||||||
|
|
||||||
def with_treeherder_required(self):
|
def with_treeherder_required(self):
|
||||||
self.treeherder_required = True
|
self.treeherder_required = True
|
||||||
return self
|
return self
|
||||||
|
@ -291,7 +295,7 @@ class Task:
|
||||||
if e.status_code != 404: # pragma: no cover
|
if e.status_code != 404: # pragma: no cover
|
||||||
raise
|
raise
|
||||||
if not CONFIG.index_read_only:
|
if not CONFIG.index_read_only:
|
||||||
self.routes.append("index.%s.%s" % (CONFIG.index_prefix, index_path))
|
self.with_index_at(index_path)
|
||||||
task_id = self.create()
|
task_id = self.create()
|
||||||
|
|
||||||
SHARED.found_or_created_indexed_tasks[index_path] = task_id
|
SHARED.found_or_created_indexed_tasks[index_path] = task_id
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue