mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
Add another linux bb worker
This commit is contained in:
36
buildbot/README-bbworker.md
Normal file
36
buildbot/README-bbworker.md
Normal file
@@ -0,0 +1,36 @@
|
||||
How to set up a buildbot worker
|
||||
================================
|
||||
|
||||
* Create a Python venv for the buildbot worker, and populate it with the
|
||||
buildbot-worker and dependent packages:
|
||||
|
||||
cd ~/.myPyEnv
|
||||
python3.8 -m venv Py38-bb2
|
||||
source Py38-bb2/bin/activate
|
||||
pip install buildbot-worker
|
||||
|
||||
|
||||
* Add a project folder, like bb2, that will be the base folder for the buildbot
|
||||
worker and the venvs used for the builds.
|
||||
|
||||
* Set up venvs for each Python to be supported on this platform. They should be
|
||||
located in the bb2 folder, and named like "venv-3.8"
|
||||
|
||||
* Add configuration for the new worker in master.cfg, and update the server.
|
||||
|
||||
* Create the worker config using:
|
||||
|
||||
buildbot-worker create-worker . buildbot.wxpython.org:9988 <name> <passwd>
|
||||
|
||||
* Add start and stop scripts, like these:
|
||||
|
||||
#!/bin/bash
|
||||
source ~/bin/wrangler.sh Py38-bb2
|
||||
echo "(Re)starting the buildbot-worker"
|
||||
buildbot-worker restart .
|
||||
|
||||
|
||||
#!/bin/bash
|
||||
source ~/bin/wrangler.sh Py38-bb2
|
||||
echo "Stopping the buildbot-worker"
|
||||
buildbot-worker stop .
|
||||
Reference in New Issue
Block a user