aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-12-13 11:37:42 +0100
committerSimon Sapin <simon.sapin@exyr.org>2018-12-13 11:37:42 +0100
commit8de59c15b5197a4971d62de370490fb157c4b7c2 (patch)
treeff5fa9dca8e4f7800e9265a754114df9f4b290ba
parentbe69c01ba7ab4785273091998e71668ffa557ae4 (diff)
downloadservo-8de59c15b5197a4971d62de370490fb157c4b7c2.tar.gz
servo-8de59c15b5197a4971d62de370490fb157c4b7c2.zip
Index/cache more tasks
This help `@bors-servo retry` not run a task again if there’s already a successful run.
-rw-r--r--etc/taskcluster/decision_task.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/taskcluster/decision_task.py b/etc/taskcluster/decision_task.py
index 0da21ffcd08..dd1fbd06fea 100644
--- a/etc/taskcluster/decision_task.py
+++ b/etc/taskcluster/decision_task.py
@@ -175,7 +175,7 @@ def macos_unit():
./mach package --dev
./etc/ci/lockfile_changed.sh
""")
- .create()
+ .find_or_create("macos_unit." + CONFIG.git_sha)
)
@@ -207,7 +207,7 @@ def android_arm32_dev():
./etc/ci/lockfile_changed.sh
python ./etc/ci/check_dynamic_symbols.py
""")
- .create()
+ .find_or_create("android_arm32_dev." + CONFIG.git_sha)
)
@@ -256,7 +256,7 @@ def android_x86_wpt():
/_mozilla/mozilla/DOMParser.html \
/_mozilla/mozilla/webgl/context_creation_error.html
""")
- .create()
+ .find_or_create("android_x86_release." + CONFIG.git_sha)
)
@@ -369,7 +369,7 @@ def wpt_chunk(release_build_task, total_chunks, this_chunk):
for word in script.split()
if word.endswith(".log")
])
- return task.create()
+ return task.find_or_create("linux_wpt_%s.%s" % (this_chunk, CONFIG.git_sha))
def daily_tasks_setup():