Closed Bug 1278747 Opened 8 years ago Closed 8 years ago

Set up the bug filer tool using it's own Bugzilla account

Categories

(Tree Management :: Treeherder, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: KWierso, Assigned: KWierso)

References

Details

To use the new bug filer tool that was added, we need to set Treeherder up with an API key to a bugzilla account. During testing, I just used my own personal api key on bugzilla-dev, but we need something unique for the actual deployment.

Bug 1110240 suggested we create a bugzilla account with the email address of `intermittent-bug-filer@mozilla.bugs`. Once that account is created, we'll need to generate an API key for it at https://bugzilla.mozilla.org/userprefs.cgi?tab=apikey and then add that key into the Treeherder environment (I'm not totally clear how those get set on stage/prod) as `BZ_API_KEY`.


Marking the bug private since we'll likely be disclosing the API key in here.
Ed, any idea who can set the account up and configure Treeherder (stage first, I suppose)?
Flags: needinfo?(emorley)
I would:
1) File a non-private bug in bugzilla.mozilla.org::Administration, blocking this one, asking a Bugzilla account to be created with that username, and for them to choose a strong random, which they PM to you (ensuring everyone is connected via a secure IRC connection) rather than pasting in a bug.
2) Log into that Bugzilla account using those credentials and:
 - create an API key
 - Set an appropriate account display name / block needinfo+review requests etc (since followers don't get those, so it just causes false expectation) / set any other appropriate settings
3) File a non-private bug in Tree Management::Infrastructure, blocking this one, asking fubar to set the BZ_API_KEY environment variable on both stage and production, and asking him to PM you on IRC for the API key, rather than pasting in the bug. Since the environment variable doesn't switch anything on per-se (if people aren't using the feature), we can just enable both stage+prod at once.
4) Try out the feature (might as well use prod, since it makes no difference to Treeherder, since the content is ending up in Bugzilla, not Treeherder).
5) PM me on IRC with the Bugzilla account details, so I can add to my password manager, in case we need them in the future. I will also set BZ_API_KEY on the Heroku instances at this point.

Sound ok? :-)
Assignee: nobody → wkocher
Group: mozilla-employee-confidential
Flags: needinfo?(emorley)
Summary: Set up and configure a bugzilla account for the bug filer tool. → Set up the bug filer tool using it's own Bugzilla account
s/strong random/strong random password/
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.