mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Zero-pad the chunk number in WPT task names
This commit is contained in:
parent
e5f6333832
commit
67b0b97d4f
1 changed files with 3 additions and 1 deletions
|
@ -650,7 +650,9 @@ def wpt_chunks(platform, make_chunk_task, build_task, total_chunks, processes,
|
|||
chunks = range(total_chunks + 1)
|
||||
for this_chunk in chunks:
|
||||
task = (
|
||||
make_chunk_task("WPT chunk %s / %s" % (this_chunk, total_chunks))
|
||||
make_chunk_task("WPT chunk {:0{width}} / {}".format(
|
||||
this_chunk, total_chunks, width=len(str(total_chunks)),
|
||||
))
|
||||
.with_treeherder(platform, "WPT-%s" % this_chunk)
|
||||
.with_repo(**repo_kwargs)
|
||||
.with_curl_artifact_script(build_task, "target.tar.gz")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue