Confirmed users
4,293
edits
(Fix dev-master1 hostname) |
|||
| Line 9: | Line 9: | ||
'''NOTE''': You will need root access to create a user account for yourself on dev- | '''NOTE''': You will need root access to create a user account for yourself on dev-master1 and a buildbot area under /builds/buildbot/your_name.<br /> | ||
Ask someone with root access to set it up following instructions in [https://intranet.mozilla.org/Build/Mentor_Checklist here].<br /> | Ask someone with root access to set it up following instructions in [https://intranet.mozilla.org/Build/Mentor_Checklist here].<br /> | ||
If you are setting dev- | If you are setting dev-master1 you probably want to use root to set up an account in /builds/buildbot/your_name since you might get this error (I think it has to do with which group your account belongs to): | ||
from twisted.python.zippath import ZipArchive | from twisted.python.zippath import ZipArchive | ||
ImportError: No module named zippath | ImportError: No module named zippath | ||
== General == | == General == | ||
* Instructions specific to dev- | * Instructions specific to dev-master1 (dev-master1.build.mozilla.org) | ||
<pre> | <pre> | ||
# as root | # as root | ||
| Line 73: | Line 73: | ||
=== Signing server setup === | === Signing server setup === | ||
Ever since we started signing all builds, a proper signing server setup in your dev master is necessary to do proper tests. The signing servers are configured in passwords.py and require real secrets (meaning, do not distribute them publicly). The [https://github.com/mozilla/build-buildbot-configs/blob/master/mozilla/passwords.py.template templatized version of passwords.py] will show you the format of the file, but you'll need to get the real values elsewhere. bhearsum's version is generally up-to-date and available at /builds/buildbot/bhearsum/builds/master/passwords.py on dev- | Ever since we started signing all builds, a proper signing server setup in your dev master is necessary to do proper tests. The signing servers are configured in passwords.py and require real secrets (meaning, do not distribute them publicly). The [https://github.com/mozilla/build-buildbot-configs/blob/master/mozilla/passwords.py.template templatized version of passwords.py] will show you the format of the file, but you'll need to get the real values elsewhere. bhearsum's version is generally up-to-date and available at /builds/buildbot/bhearsum/builds/master/passwords.py on dev-master1. Note that in staging you must be careful not to use the Release or Nightly signing server instances, which will sign builds with real certificates (instead of self signed ones) -- so do NOT copy a passwords.py file from a production build master. If you have trouble with this, ask for help. | ||
== Create a tests master == | == Create a tests master == | ||
| Line 108: | Line 108: | ||
* Run "make start" to make sure you master starts. | * Run "make start" to make sure you master starts. | ||
** You should have a Makefile at $BASEDIR/Makefile to start/stop your master | ** You should have a Makefile at $BASEDIR/Makefile to start/stop your master | ||
** Visit http://dev- | ** Visit http://dev-master1.build.mozilla.org:${YOUR_WEBSTATUS_PORT}/waterfall | ||
* If it works, congrats! Now run "make stop" to shut it down until you're ready to actually start testing. | * If it works, congrats! Now run "make stop" to shut it down until you're ready to actually start testing. | ||
| Line 120: | Line 120: | ||
@@ -49,3 +49,3 @@ GLOBAL_VARS = { | @@ -49,3 +49,3 @@ GLOBAL_VARS = { | ||
'talos_masters': [ | 'talos_masters': [ | ||
- ('dev- | - ('dev-master1.build.mozilla.org:9009', True, 1), | ||
+ ('staging-master:9041', True, 1), | + ('staging-master:9041', True, 1), | ||
], | ], | ||
| Line 127: | Line 127: | ||
- ('staging-master.build.mozilla.org:9009', True, 1), | - ('staging-master.build.mozilla.org:9009', True, 1), | ||
- ('talos-staging-master02.build.mozilla.org:9012', True, 1), | - ('talos-staging-master02.build.mozilla.org:9012', True, 1), | ||
+ ('dev- | + ('dev-master1:9041', True, 1), | ||
], | ], | ||
</pre> | </pre> | ||
| Line 144: | Line 144: | ||
If you have an old master you can modify it: | If you have an old master you can modify it: | ||
* Visit http://slavealloc.build.mozilla.org/ui/#masters | * Visit http://slavealloc.build.mozilla.org/ui/#masters | ||
* Modify the FQDN of the master and the port (e.g. dev- | * Modify the FQDN of the master and the port (e.g. dev-master1.build.mozilla.org) | ||
= Setup/Running local master scheduler on laptop - not dev-master = | = Setup/Running local master scheduler on laptop - not dev-master = | ||