blob: 4b68f1aa9c572ae17512cde930240b004ab04dab (
plain)
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
|
# example of a gold image build
# (on ArchLinux, building a RHEL6 image)
master
{
control = "tcp://*:5555"
data = "tcp://*:5556"
spool_dir = "."
}
coordinator
{
control = "tcp://localhost:5555"
}
worker example_build_gold
{
control = "tcp://localhost:5555"
data = "tcp://localhost:5556"
execution = direct
command = "/bin/sh ./build_centos6.sh ${ARCH}"
# command = "/bin/sh ./build_centos6.sh x86_64"
# command = "/bin/sh ./build_centos6.sh i686"
}
worker example_run
{
control = "tcp://localhost:5555"
data = "tcp://localhost:5556"
execution = direct
command = "/bin/chroot rhel6-${ARCH} /bin/bash -c '/bin/cat /etc/redhat-release'"
# command = "/bin/chroot rhel6-x64 /bin/bash -c '/bin/cat /etc/redhat-release'"
# command = "/bin/chroot rhel6-i686 /bin/bash -c '/bin/cat /etc/redhat-release'"
}
webserver
{
threads = 4
host = localhost
port = 8080
}
|