Sign inSign up

taskcluster/generic-worker

By taskcluster

Updated about 7 hours ago

Generic worker

Image
0

10K+

taskcluster/generic-worker repository overview

Using generic worker

To run generic worker inside docker container you'll need to generate new client and access token

# worker-config.json
{
  "accessToken": "%access-token%",
  "clientId": "%clientId%",
  "ed25519SigningKeyLocation": "/etc/generic-worker/ed25519_key",
  "rootURL": "https://dev.alpha.taskcluster-dev.net",
  "workerId": "generic-worker",
  "provisionerId": "docker-compose",
  "workerType": "generic-worker",
  "livelogExecutable": "/usr/local/bin/livelog",
  "taskclusterProxyExecutable": "/usr/local/bin/taskcluster-proxy",
  "publicIP": "127.1.2.3"
}

# run worker that will connect to dev.alpha deployment and will start claiming tasks from docker-compose/generic-worker queue
docker run -it --rm \
  -e TASKCLUSTER_ROOT_URL=https://your-deployment \
  -e TASKCLUSTER_CLIENT_ID=%client-id% \
  -e TASKCLUSTER_ACCESS_TOKEN=%access-token% \
  -v $(pwd)/worker-config.json:/etc/generic-worker/config.json \
  taskcluster/generic-worker:v44.20.4 \
  standalone

You will have to create client credentials for this worker and replace TASKCLUSTER_CLIENT_ID/TASKCLUSTER_ACCESS_TOKENS with correct values.

Source

generic-worker.Dockerfile

Tag summary

Content type

Image

Digest

sha256:c06e1e2bb

Size

83.2 MB

Last updated

about 7 hours ago

docker pull taskcluster/generic-worker:v110.0.0