Open
Bug 1499055
Opened 6 years ago
Updated 10 months ago
[META] Support docker-worker tasks in generic-worker
Categories
(Taskcluster :: Workers, enhancement)
Taskcluster
Workers
Tracking
(Not tracked)
REOPENED
People
(Reporter: pmoore, Unassigned)
References
(Depends on 15 open bugs, Blocks 2 open bugs)
Details
Attachments
(1 file)
In order to be able to discontinue support for docker-worker, we will need to migrate all docker-worker tasks to generic-worker. Generic worker should support the same format task payloads as docker worker, so that the migration can be as seamless as possible.
Reporter | ||
Updated•6 years ago
|
Assignee: nobody → wcosta
Reporter | ||
Comment 1•6 years ago
|
||
This PR is not ready for merging, it is a starting point for adding docker support. It runs tasks inside a docker container, but does not allow the task to specify an image, it uses a hardcoded image to run the task inside. It doesn't cache docker images or provide support for building docker images. It provides go types generated from the docker-worker payload schema, in order to interpret docker-worker style payloads. When generic-worker reads a task payload, it should evaluate if it is a native generic-worker task payload, or a docker-worker task payload. If it is a docker-worker task payload, the worker should load the payload into the docker-worker go types, then transform that data into the native generic-worker payload go types. This should localise most of the changes to the codebase to this transformation step, so that the existing mechanics of interpreting the task payloads can be left untouched. Additionally we should add support to the generic-worker task payload format for the additional docker-worker features, so that at some point, we could more easily drop support for legacy docker-worker style payloads, to keep things simpler/cleaner. Of course this is not mandatory, but may be desirable in the interests of simplicity.
Reporter | ||
Updated•6 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Updated•6 years ago
|
Summary: Support running tasks inside docker container → Support docker-worker tasks in generic-worker
Reporter | ||
Comment 2•6 years ago
|
||
Splitting this bug up into separate bugs for the constituent parts...
Updated•6 years ago
|
Summary: Support docker-worker tasks in generic-worker → [META] Support docker-worker tasks in generic-worker
Updated•5 years ago
|
Assignee: wcosta → pmoore
Assignee | ||
Updated•5 years ago
|
Component: Generic-Worker → Workers
Updated•5 years ago
|
Blocks: redeploy-firefox-ci
Updated•5 years ago
|
No longer blocks: redeploy-firefox-ci
Reporter | ||
Updated•5 years ago
|
Assignee: pmoore → nobody
Status: ASSIGNED → NEW
Reporter | ||
Comment 3•3 years ago
|
||
Not actively working on this at the moment.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INACTIVE
Reporter | ||
Comment 4•10 months ago
|
||
Reopening inactive bugs, because they may still need attention. Historically, inactive bugs were closed, but this hides the fact there are genuine issues which have not been resolved.
Reporter | ||
Updated•10 months ago
|
Status: RESOLVED → REOPENED
Resolution: INACTIVE → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•