Pass adjusted scale factor to DrawingArea
[framework/web/webkit-efl.git] / TizenScripts / tizen-buildbot / README
1 Key setup
2
3 Register SSH public key to Gerrit and SBS APT server.
4 Make SSH private key available to Buildbot, both master and slave.
5
6 Common setup
7
8 ~$ sudo apt-get install python-virtualenv python-pip python-dev
9 ~$ virtualenv buildbot
10 ~$ cd buildbot
11 ~/buildbot$ . bin/activate
12
13 Master setup
14
15 (buildbot)~/buildbot$ pip install buildbot
16 (buildbot)~/buildbot$ buildbot create-master master
17 (buildbot)~/buildbot$ ln -s ~/slp/pkgs/w/webkit-efl/tizen-scripts/tizen-buildbot/master/* master
18 (buildbot)~/buildbot$ buildbot start master
19
20 To speed up initial checkout for GitPoller (not currently used):
21
22 ~/buildbot/master$ git clone ~/slp/pkgs/w/webkit-efl gitpoller
23 ~/buildbot/master$ cp ~/slp/pkgs/w/webkit-efl/.git/config gitpoller/.git
24
25 For publishing build results, /var/www should be writable by Buildbot master,
26 and served as the web root.
27
28 Slave setup
29
30 (buildbot)~/buildbot$ pip install buildbot-slave
31 (buildbot)~/buildbot$ buildslave create-slave slave01 165.213.206.180:10000 slave01 password
32 (buildbot)~/buildbot$ buildslave start slave01
33
34 Edit slave01/info/{admin,host}.
35
36 To speed up initial checkout:
37
38 ~/buildbot/slave01$ git clone ~/slp/pkgs/w/webkit-efl gerrit/build
39 ~/buildbot/slave01$ touch gerrit/build/.buildbot-sourcedata
40
41 SBS uses ccache to speed up build, but the default size of 1 GiB is too small for WebKit.
42 10 GiB is recommended.
43
44 ~$ ccache -M 10G
45
46 dpkg uses TMPDIR while creating binary packages. In recent Linux distributions
47 default TMPDIR /tmp is mounted as tmpfs. As tmpfs is a memory file system,
48 by default its size is set to certain percentage of physical memory.
49
50 This speeds up build, but it can cause disk full error(ENOSPC) or memory full
51 error(ENOMEM). There are two solutions:
52
53 * Disable tmpfs for /tmp
54
55 This can be done by setting RAMTMP to no in rcS. Read rcS(5) for details.
56
57 * Ensure tmpfs on /tmp has enough space
58
59 This can be done by fstab entry like the following. Read mount(8) for other
60 mount options. At least 1 GiB is recommended for size.
61
62 tmpfs /tmp tmpfs nodev,nosuid,size=1g 0 0