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)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mrrrgn, Assigned: mrrrgn)

Details

Attachments

(1 file)

This runs buildbot with the url set in its environment.
This solves the issue by moving the creds into a file.
Attachment #8572196 - Flags: review?(bhearsum)
Assignee: nobody → winter2718
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+
Attachment #8572196 - Flags: checked-in+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Component: Tools → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: