Closed Bug 1455629 Opened 7 years ago Closed 6 years ago

Allow tc-clients to "just work" in tc-worker, generic-worker, docker-worker via TASKCLUSTER_ROOT_URL

Categories

(Taskcluster :: Services, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1459075

People

(Reporter: dustin, Assigned: wcosta)

References

Details

All three worker implementations now support the equivalent of taskcluster-proxy. However, the base URLs for all of them are different. I think the new API root URL is flexible enough to support these cases, though. So let's make all of the workers publish the appropriate environment variable so that const tc = require('taskcluster'); const queue = new tc.Queue(); queue.createTask(..) will "just work" in any worker that has taskcluster-proxy available, in a task with appropriate scopes.
Also, let's document this behavior somewhere.
Depends on: 1428417
Blocks: 1427839
Assignee: nobody → wcosta
This is now tracked in bugs for each worker independently.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Component: Redeployability → Services
You need to log in before you can comment on or make changes to this bug.