mirror of
https://github.com/servo/servo.git
synced 2025-07-03 21:43:41 +01:00
Proper task id
This commit is contained in:
parent
6bdedfbcf0
commit
83a5436bc7
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ import os
|
|||
import datetime
|
||||
import taskcluster
|
||||
|
||||
task_id = os.environ["DECISION_TASK_ID"] + "-child-task"
|
||||
task_id = taskcluster.slugId()
|
||||
payload = {
|
||||
"taskGroupId": os.environ["DECISION_TASK_ID"],
|
||||
"provisionerId": "aws-provisioner-v1",
|
||||
|
@ -34,4 +34,4 @@ payload = {
|
|||
},
|
||||
}
|
||||
result = taskcluster.Queue().createTask(task_id, payload)
|
||||
print("task created…? %r" % result)
|
||||
print("task %s created…? %r" % (task_id, result))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue