Add a script to run .taskcluster.yml expansion offline

That file’s logic is getting kinda complex
This commit is contained in:
Simon Sapin 2019-01-05 01:15:29 +01:00
parent 5d0dbd6355
commit bc366d01a8
2 changed files with 73 additions and 0 deletions

View file

@ -265,6 +265,7 @@ class Task:
except taskcluster.TaskclusterRestFailure as e:
if e.status_code != 404: # pragma: no cover
raise
# FIXME: skip for untrusted tasks that dont have the scope to do this?
self.routes.append("index.%s.%s" % (CONFIG.index_prefix, index_path))
task_id = self.create()