mirror of
https://github.com/servo/servo.git
synced 2025-07-03 21:43:41 +01:00
Python syntax
This commit is contained in:
parent
0473ac29d0
commit
2ab965d661
1 changed files with 8 additions and 5 deletions
|
@ -14,19 +14,22 @@ payload = {
|
|||
"description": "",
|
||||
"owner": os.environ["DECISION_TASK_OWNER"],
|
||||
"source": os.environ["DECISION_TASK_SOURCE"],
|
||||
}
|
||||
},
|
||||
"payload": {
|
||||
"maxRunTime": 600,
|
||||
"image": "buildpack-deps:bionic-scm",
|
||||
"command": [
|
||||
"/bin/bash", "--login", "-c", """
|
||||
"/bin/bash",
|
||||
"--login",
|
||||
"-c",
|
||||
"""
|
||||
git clone %(DECISION_TASK_CLONE_URL)s repo &&
|
||||
cd repo &&
|
||||
git checkout %(DECISION_TASK_COMMIT_SHA)s &&
|
||||
python2.7 child-task.py
|
||||
""" % os.environ
|
||||
]
|
||||
}
|
||||
""" % os.environ,
|
||||
],
|
||||
},
|
||||
}
|
||||
result = taskcluster.Queue().createTask(task_id, payload)
|
||||
print("task created…? %r" % result)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue