Payload Format
Docker worker payload (source)
.payload
field of the queue.
Docker image. | One of | Image to use for the task. Images can be specified as an image tag as used by a docker registry, or as an object declaring type and name/namespace | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
cache | Object of | Caches are mounted within the docker container at the mount point specified. Example: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
capabilities | Object of | Set of capabilities that must be enabled or made available to the task container Example: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
command | Array of default: | Example: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
encryptedEnv | Array of | List of base64 encoded asymmetric encrypted environment variables. See https://docs.taskcluster.net/manual/execution/workers/docker-worker#encrypted-environment-variables | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
env | Object of | Example: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
maxRunTime | number[1:86400] | Maximum time the task container can run in seconds | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
onExitStatus | Object of | By default docker-worker will fail a task with a non-zero exit status without retrying. This payload property allows a task owner to define certain exit statuses that will be marked as a retriable exception. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
graphs | Array of | Contents of file are used to extend the graph (if this task was part of a graph). See https://docs.taskcluster.net/reference/platform/scheduler/api-docs#extendTaskGraph | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
artifacts | Object of | Artifact upload map example: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
supersederUrl | string | url | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
features | Object of | Used to enable additional functionality. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
- Previous
- Up
- Next