Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mozillazg/pypy-buildbot

The unofficial GitHub mirror of https://foss.heptapod.net/pypy/buildbot
https://github.com/mozillazg/pypy-buildbot

github-mirror read-only-repository unofficial unofficial-mirror

Last synced: about 1 month ago
JSON representation

The unofficial GitHub mirror of https://foss.heptapod.net/pypy/buildbot

Awesome Lists containing this project

README

        

.. -*- mode: rst -*-

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

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.

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 ``

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