Closed
Bug 1057882
Opened 10 years ago
Closed 6 years ago
docker-worker: Support "Services"
Categories
(Taskcluster :: Workers, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jlal, Unassigned)
References
Details
(Whiteboard: [docker-worker])
Attachments
(1 file)
As part of the refactoring for TC v1.0 the worker has a generic concept of "links" as part of making task cluster a generally useful CI arbitrary links should be available. The logic is something like this: - ensure "links" are pulled (using same pull logic added for private repos) - allow "aliases" in the docker worker schema - follow same teardown logic for the "proxy" link which needs its own logic. Example schema: payload: { ..., services: { image: "user/rabbitmq:tag", alias: "amqp", command: ["/bin/bash", "-c", "startamqpthing"] } } The schema should mirror the primary payload (it could even be recursive to allow services in services though that may be meta =/)
Reporter | ||
Comment 1•10 years ago
|
||
Basically this is needed to run taskcluster tests in taskcluster (or related services)... It is generically useful however for many tasks. In particular this could allow "readonly" links to private images where we link the private images to public ones but do not allow scripts to be run on the private instances (which could be very useful for build caching)
Comment 2•10 years ago
|
||
> Basically this is needed to run taskcluster tests in taskcluster
I've said it before, bootstrapping shouldn't necessarily be a goal, it's just a footgun.
But it might be nice to have this for a lot of other reasons :)
Summary: "Services" → docker-worker: Support "Services"
Reporter | ||
Comment 3•10 years ago
|
||
We should up the priority of this I think we can use this to deploy sscache sanely (note that we should allow private service images to open up a number of workflows)
Reporter | ||
Comment 4•10 years ago
|
||
Got blocked on other things for the moment so getting at least the basics up.
Assignee: nobody → jlal
Status: NEW → ASSIGNED
Reporter | ||
Comment 5•10 years ago
|
||
Attachment #8530658 -
Flags: review?(garndt)
Comment 6•10 years ago
|
||
Comment on attachment 8530658 [details] [review] https://github.com/taskcluster/docker-worker/pull/61 Looks good.
Attachment #8530658 -
Flags: review?(garndt) → review+
Comment 7•10 years ago
|
||
One issue that occurred to me is if there is a chance to use this to do bad things on a docker-worker host. Could multiple services be spawned that are now taking up resources that aren't accounted for in the capacity of an instance?
Updated•9 years ago
|
Component: TaskCluster → Docker-Worker
Product: Testing → Taskcluster
Updated•9 years ago
|
Assignee: jlal → nobody
Mentor: jlal
Status: ASSIGNED → NEW
Updated•8 years ago
|
Whiteboard: [docker-worker]
Updated•8 years ago
|
Component: Docker-Worker → Worker
Comment 9•6 years ago
|
||
This is old enough that I'm not entirely sure what is being discussed. please reopen if this is still valid.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•5 years ago
|
Component: Worker → Workers
You need to log in
before you can comment on or make changes to this bug.
Description
•