X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=docs%2Fbuildbot.html;h=ca2fc454917356766814345ace474822838cad16;hb=8924ec1339061840e02c918d36c86dd179a86aac;hp=786f1a26a27c30606376de6bfe75810e3435f47d;hpb=2e6ce98bb7086c9ff49d091600b9e86555ecac0e;p=i3%2Fi3.github.io diff --git a/docs/buildbot.html b/docs/buildbot.html index 786f1a2..ca2fc45 100644 --- a/docs/buildbot.html +++ b/docs/buildbot.html @@ -2,15 +2,15 @@ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> - + - + i3: The i3 buildbot setup @@ -22,8 +22,9 @@ window.onload = function(){asciidoc.footnotes(); asciidoc.toc(2);}
@@ -31,7 +32,7 @@ window.onload = function(){asciidoc.footnotes(); asciidoc.toc(2);}

The i3 buildbot setup

Michael Stapelberg
<michael@i3wm.org>
-August 2012 +September 2012
Table of Contents
@@ -436,13 +437,13 @@ f.addStep(DocsToIRC()) dpkg-buildpackage and reprepro to generate a Debian repository with a cleanly compiled package for amd64 and i386. In order for it to work, you need to install the following packages: apt-get install devscripts dpkg-dev -reprepro ubuntu-dev-tools. Afterwards, you need to allow the user as which the -buildslave runs to execute pbuilder via sudo without needing a password, so run -visudo and add a line like this one:

-

sudoers line:

+reprepro ubuntu-dev-tools pbuilder. Afterwards, you need to allow the user as +which the buildslave runs to execute pbuilder via sudo without needing a +password, so add a config file like this one:

+

sudoers.d:

-
build    ALL= NOPASSWD: SETENV: /usr/sbin/pbuilder
+
echo 'build    ALL= NOPASSWD: SETENV: /usr/sbin/pbuilder' > /etc/sudoers.d/build

Then, as the user as which your buildslave runs, setup the pbuilder environments (you only need to do this once):

@@ -595,6 +596,16 @@ example, though, especially back when its only feature was announcing the build status:

http://code.stapelberg.de/git/go-buildbot-announce/tree/src/i3build.go?id=eeebf1a546454c8a0d82ca623886bb835cd32ba0

+
+

3.9. Creating the buildslave

+

One more thing to note is that when creating the buildslave, you should use the +--umask argument to configure the umask for all generated files:

+

Creating the buildslave:

+
+
+
buildslave create-slave --umask=022 i3-buildslave buildbot.i3wm.org build-1 <password>
+
+