Mercurial > octave-buildbot
comparison master.cfg @ 8:e02079ee69d1
master.cfg: add info about config file
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 08 Feb 2019 15:58:06 +0000 |
parents | c8ce098ecc08 |
children | 2d30e2976bbe |
comparison
equal
deleted
inserted
replaced
7:bb8c4f263f94 | 8:e02079ee69d1 |
---|---|
16 ## password. The same worker name and password must be configured on | 16 ## password. The same worker name and password must be configured on |
17 ## the worker. | 17 ## the worker. |
18 | 18 |
19 from buildbot.worker import Worker | 19 from buildbot.worker import Worker |
20 | 20 |
21 ## Not in hg archive because it contains password and system configuration info. | 21 ## The octave_buildbot_config file imported below is not in hg archive because |
22 ## it contains password and system configuration info. | |
23 ## | |
24 ## This file defines two variables, workers and master_id_and_pass, with | |
25 ## the following format: | |
26 ## | |
27 ## workers = {"worker-name-0": | |
28 ## {"pass": "worker-0-password", | |
29 ## "max_builds": 3, | |
30 ## "desc": "info about worker-0"}, | |
31 ## "worker-name-1": | |
32 ## {"pass": "worker-1-password", | |
33 ## "max_builds": 3, | |
34 ## "desc": "info about worker-1"}, | |
35 ## ...} | |
36 ## | |
37 ## master_id_and_pass = {"master-login-id" : "master-password"} | |
38 | |
22 import octave_buildbot_config | 39 import octave_buildbot_config |
23 | 40 |
24 c["workers"] = [] | 41 c["workers"] = [] |
25 | 42 |
26 for worker, info in octave_buildbot_config.workers.iteritems (): | 43 for worker, info in octave_buildbot_config.workers.iteritems (): |