Skip to content

pypy/buildbot

Repository files navigation

Current buidlbot status

This is the code for PyPy's buildbot, powering buildbot.pypy.org. It was imported in April 2026 from https://foss.heptapod.net/pypy/buildbot. The service is managed via ssh into the machine, and running the restart_buildmaster_when_not_running script. It uses a python2.7 venv.

Everything has been tested with builbot 0.8.8 on CPython2.7 Note you must pin "automat==20.2" "incremental==21.3.0" Testing must use "pytest<4"

Patch the source

buildbot 0.8.8 is really old. There are some patches needed, see patches.patch. If you are starting from a new db, you will need to also patch the installed migrate and buildbot packages for newer sqlite3: patch-migrate.patch, patch-buildbot.patch.

How to hack the PyPy buildbot

If you want to run buildbot locally, you need to:

  1. create a file master/slaveinfo.py which contains the password for the local slave you will run:

    passwords = {"localhost": "an_arbitrary_password" }
    
  2. cd master; make debug

  3. cd slave; make debug

How to run the PyPy buildbot

If you want to run buildbot in production, you need to make sure that the function pypybuildbot.util.we_are_debugging returns False in your environment. At the moment of writing, debugging is enabled everywhere but on cobra, which is not really where the buildbot runs.

You still need to fill master/slaveinfo.py with the passwords of the various slaves you want to use.

Then, to start the buildbot master: buildbot start <path-to pypy-buildbot/master>

To restart the buildmaster

$ cd pypy-buildbot

$ hg pull -u

$ cd master

$ buildbot checkconfig

$ buildbot reconfig

OR

$ buildbot stop

$ buildbot start

OR

$ ./restart_buildmaster_when_not_running

To run a buildslave

Please refer to README_BUILDSLAVE

About

buildbot as used by pypy

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors