-
Notifications
You must be signed in to change notification settings - Fork 26
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
Uuuhhh, ignore this for now. There shouldn't be a merge conflict. |
I know very little about this. Changing reviewer to @brson |
I'm not sure this is sufficient. It will allow us to keep the passwords hidden from the source code, but it leaves a few problems:
|
A concrete change here might be to distinguish credentials for dist builds from all others. I think we should probably ask the people in #buildbot on freenode about best practices, though perhaps we just need to bite the bullet and put buildbot behind an https proxy. |
Putting buildbot behind nginx or something similar was what I was going to I'll ask on #buildbot later today or tomorrow if I don't get the
|
It looks like there's some fine-grain control available for this: http://docs.buildbot.net/current/manual/cfg-statustargets.html#authentication I'll test out the EDIT: Nope. I'll stick to having a |
passwords.py seems good |
In `passwords.py.sample` there are already two users. One user that is allowed to build anything (any-build), and another that is **not** allowed to build dists (no-dist). The corresponding code to allow/deny these actions are in master.cfg where authorization is configured. modified: .gitignore modified: master/master.cfg new file: master/passwords.py.sample
So currently the two changes are:
|
Looks good, thanks. Testing it now. |
Thanks @bheesham! |
Changed to using a
passwords.py
file for storing credentials. This should take care of the whole "passwords being public" thing.See this issue.