summaryrefslogtreecommitdiff
path: root/examples/build_gold_image/biruda.conf
blob: aed8d5337a9001870c6c749a27c3b57f00e734d5 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# 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_centos6
{
	control = "tcp://localhost:5555"

	data = "tcp://localhost:5556"

	execution = direct

	command = "/bin/sh ./build_centos6.sh ${ARCH}"
}

worker example_uname_centos6
{
	control = "tcp://localhost:5555"

	data = "tcp://localhost:5556"

	execution = direct

	command = "/bin/chroot rhel6-${ARCH} /bin/bash -c '/bin/cat /etc/redhat-release && /bin/uname -m'"
}

worker example_build_archlinux
{
	control = "tcp://localhost:5555"

	data = "tcp://localhost:5556"

	execution = direct

	command = "/bin/sh ./build_archlinux.sh ${ARCH}"
}

worker example_uname_archlinux
{
	control = "tcp://localhost:5555"

	data = "tcp://localhost:5556"

	execution = direct

	command = "/bin/chroot archlinux-${ARCH} /bin/bash -c '/bin/cat /etc/arch-release && /bin/uname -m'"
}

webserver
{
	threads = 4
	host = localhost
	port = 8080
}