Closed
Bug 1497240
Opened 6 years ago
Closed 5 years ago
taskcluster-client.py: Document the appropriate TASKCLUSTER_ROOT_URL to use for mozilla production in README.md
Categories
(Taskcluster :: Services, enhancement)
Taskcluster
Services
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: pmoore, Assigned: pmoore)
Details
Attachments
(1 file)
The README.md says that env var TASKCLUSTER_ROOT_URL is supported, but I believe not only is it supported but it is also required. Furthermore, it would be useful to explicitly mention that the value 'https://taskcluster.net' should be used for the mozilla production environment.
Assignee | ||
Comment 1•6 years ago
|
||
Note, I've updated the docs to say TASKCLUSTER_ROOT_URL is required - can you confirm this is correct, and that it is not sufficient to just pass the root URL as a constructor argument? If TASKCLUSTER_ROOT_URL is really required as an environment variable, I'll create a separate bug about changing that to a constructor argument, as it should be possible for a single python program to interface with two different taskcluster deployments from the same process.
Comment 2•6 years ago
|
||
Comment on attachment 9015257 [details] [review] GitHub Pull Request for taskcluster-client.py Thanks, Pete!
Attachment #9015257 -
Flags: review?(jhford) → review+
Comment 3•6 years ago
|
||
rootUrl is allowed as a constructor arg as well (just like clientId and accessToken). Note that there will soon be multiple production deployments and we are working to make `https://taskcluster.net` *not* a working rootUrl (in the next 1-2 quarters), so including it in non-Mozilla-specific documentation is perhaps going to lead to confusion.
Comment 4•6 years ago
|
||
Is it worth having the environment variable set on behalf of the people running tasks? So if a task is passed through the production taskcluster instance, the worker gets that environment variable. Otherwise, it's something that other groups will have to set in multiple places, and keep track of which is the right value under what conditions.
Comment 5•6 years ago
|
||
I think you mean having the variable set in a task? Yes, that is in progress in bug 1460015.
Updated•5 years ago
|
Component: Client Libraries → Services
Comment 6•5 years ago
|
||
Comment 4 is now addressed.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•