From 8de59c15b5197a4971d62de370490fb157c4b7c2 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Thu, 13 Dec 2018 11:37:42 +0100 Subject: [PATCH] Index/cache more tasks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This help `@bors-servo retry` not run a task again if there’s already a successful run. --- etc/taskcluster/decision_task.py | 8 ++++---- 1 file 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():