File: README-bbworker.md

package info (click to toggle)
wxpython4.0 4.2.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 221,752 kB
  • sloc: cpp: 962,555; python: 230,573; ansic: 170,731; makefile: 51,756; sh: 9,342; perl: 1,564; javascript: 584; php: 326; xml: 200
file content (36 lines) | stat: -rw-r--r-- 1,072 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 .