Closed
Bug 1139156
Opened 11 years ago
Closed 11 years ago
Remove influxdb url from the runner configs [ENV] settings
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mrrrgn, Assigned: mrrrgn)
Details
Attachments
(1 file)
|
4.14 KB,
patch
|
bhearsum
:
review+
mrrrgn
:
checked-in+
|
Details | Diff | Splinter Review |
This runs buildbot with the url set in its environment.
| Assignee | ||
Comment 1•11 years ago
|
||
This solves the issue by moving the creds into a file.
Attachment #8572196 -
Flags: review?(bhearsum)
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → winter2718
Comment 2•11 years ago
|
||
Comment on attachment 8572196 [details] [diff] [review]
influxurl.runner.diff
Review of attachment 8572196 [details] [diff] [review]:
-----------------------------------------------------------------
Thank you for doing this!
::: modules/runner/files/influxdb_hook.py
@@ +74,5 @@
> + if os.path.exists(cred_file):
> + url, name = open(cred_file, 'r').read().strip().split('|')
> + else:
> + name = os.environ.get('INFLUXDB_NAME') or sys.argv[2]
> + url = os.environ.get('INFLUXDB_URL') or sys.argv[3]
Are you going to keep support for the env vars, or is this just for transition purposes?
Attachment #8572196 -
Flags: review?(bhearsum) → review+
| Assignee | ||
Updated•11 years ago
|
Attachment #8572196 -
Flags: checked-in+
| Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Component: Tools → General
You need to log in
before you can comment on or make changes to this bug.
Description
•