File: hello.cfg

package info (click to toggle)
buildbot 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,080 kB
  • sloc: python: 174,183; sh: 1,204; makefile: 332; javascript: 119; xml: 16
file content (72 lines) | stat: -rw-r--r-- 2,035 bytes parent folder | download | duplicates (5)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# -*- python -*-
# ex: set syntax=python:

from buildbot.plugins import *

BuildmasterConfig = c = {}

c['slaves'] = [buildslave.BuildSlave("bot1", "sekrit")]

c['change_source'] = changes.PBChangeSource(prefix="trunk")
c['builders'] = []

if True:
    f = util.BuildFactory()
    f.addStep(steps.CVS(cvsroot="/usr/home/warner/stuff/Projects/BuildBot/demo/Repository",
                        cvsmodule="hello",
                        mode="clobber",
                        checkoutDelay=6,
                        alwaysUseLatest=True))
    f.addStep(steps.Configure())
    f.addStep(steps.Compile())
    f.addStep(steps.Test(command=["make", "check"]))
    b1 = {
        "name": "cvs-hello",
        "slavename": "bot1",
        "builddir": "cvs-hello",
        "factory": f
    }
    c['builders'].append(b1)

if True:
    svnrep="file:///usr/home/warner/stuff/Projects/BuildBot/demo/SVN-Repository"
    f = util.BuildFactory()
    f.addStep(steps.SVN(repourl=svnrep+"/hello", mode="update"))
    f.addStep(steps.Configure())
    f.addStep(steps.Compile()),
    f.addStep(steps.Test(command=["make", "check"]))
    b1 = {
        "name": "svn-hello",
        "slavename": "bot1",
        "builddir": "svn-hello",
        "factory": f
    }
    c['builders'].append(b1)

if True:
    f = util.BuildFactory()
    f.addStep(steps.Darcs(repourl="http://localhost/~warner/hello-darcs",
                          mode="copy"))
    f.addStep(steps.Configure(command=["/bin/sh", "./configure"]))
    f.addStep(steps.Compile())
    f.addStep(steps.Test(command=["make", "check"]))
    b1 = {
        "name": "darcs-hello",
        "slavename": "bot1",
        "builddir": "darcs-hello",
        "factory": f
    }
    c['builders'].append(b1)

c['title'] = "Hello"
c['titleURL'] = "http://www.hello.example.com/"
c['buildbotURL'] = "http://localhost:8080"

c['slavePortnum'] = 8007
c['manhole'] = util.PasswordManhole(9900, "username", "password", ssh_hostkey_dir="/data/ssh_host_keys/")

c['www'] = {
    'port': 8080
}

# vim:ft=python