Closed
Bug 1382668
Opened 7 years ago
Closed 5 years ago
generic-worker: document the env vars that the worker implicitly sets in the task commands it runs
Categories
(Taskcluster :: Workers, enhancement)
Taskcluster
Workers
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dustin, Assigned: pmoore)
References
Details
Attachments
(1 file)
I'm not sure what those are, but grepping for TASKCLUSTER_ in docker-worker could probably reveal them. They should also be documented here https://docs.taskcluster.net/reference/workers/docker-worker/environment
Updated•6 years ago
|
QA Contact: pmoore
Summary: generic-worker: generate the same env vars as docker-worker → generic-worker: bring env-vars in sync with spec from 1454035
Comment 1•6 years ago
|
||
Pete: worker consolidation obviates this. Should this be duped forward or closed?
Flags: needinfo?(pmoore)
Assignee | ||
Updated•6 years ago
|
Component: Worker → Generic-Worker
Flags: needinfo?(pmoore)
Summary: generic-worker: bring env-vars in sync with spec from 1454035 → generic-worker: document the env vars that the worker implicitly sets in the task commands it runs
Reporter | ||
Comment 2•6 years ago
|
||
These could be at https://docs.taskcluster.net/docs/manual/design/env-vars now
Comment 3•6 years ago
|
||
That document starts with: > Taskcluster defines several environment variables, Which feels very vague to me. Defines where? Does this mean that worker implementations like docker-worker and generic worker, when they are given arbitrary scripts/commands to run through a task definition, are expected to define these variables for use by those scripts/commands? > TASKCLUSTER_CLIENT_ID is the clientId to use for Taskcluster API calls. Is this for the purpose of making API calls from tasks? How does this compare with the `taskclusterProxy` feature (which AFAIU does not require authentication) of docker-worker and generic-worker?
Reporter | ||
Comment 4•6 years ago
|
||
It defines them right there in the very next line :) But yes, that document could be more explicit about when these variables are provided, and when they are expected. Bug 1511457.
Updated•5 years ago
|
Component: Generic-Worker → Workers
Assignee | ||
Comment 5•5 years ago
|
||
Assignee: nobody → pmoore
Status: NEW → ASSIGNED
Assignee | ||
Updated•5 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•5 years ago
|
||
Released in generic-worker 15.1.1.
Comment 7•5 years ago
|
||
deployment in progress...
https://tools.taskcluster.net/groups/RGUMliLGTY2X_euzU3Ajng
Comment 8•5 years ago
|
||
deployment reverted due to tree closure (bug 1566365)
Assignee | ||
Comment 9•5 years ago
|
||
Redeployed without issue second time around (original failure cause currently unknown).
You need to log in
before you can comment on or make changes to this bug.
Description
•