Skip to content

Commit b1a99ee

Browse files
committed
Move filesystem layout tip into per-distro tabs
1 parent 598fde9 commit b1a99ee

File tree

1 file changed

+22
-11
lines changed

1 file changed

+22
-11
lines changed

testing/new-buildbot-worker.rst

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,17 @@ the steps below as appropriate if you choose that path.
100100
at ``/var/lib/buildbot/worker``), installs a templated systemd unit
101101
``buildbot-worker@.service``, and creates ``/var/lib/buildbot/worker/``.
102102

103+
.. tip::
104+
105+
If your system has most of its disk space on ``/home`` rather than
106+
on the root partition, create the worker data under ``/home`` and
107+
symlink it so the packaged systemd unit still works::
108+
109+
mkdir -p /home/buildbot-worker/worker
110+
ln -s /home/buildbot-worker/worker /var/lib/buildbot/worker
111+
112+
Adjust ownership and paths to match your distro's conventions.
113+
103114
Create the worker (replace ``WORKERNAME`` and ``WORKERPASSWD`` with
104115
the credentials provided to you from your buildmaster-config issue)::
105116

@@ -124,6 +135,17 @@ the steps below as appropriate if you choose that path.
124135
systemd unit ``buildbot-worker@.service``, and creates
125136
``/var/lib/buildbot/workers/``.
126137

138+
.. tip::
139+
140+
If your system has most of its disk space on ``/home`` rather than
141+
on the root partition, create the worker data under ``/home`` and
142+
symlink it so the packaged systemd unit still works::
143+
144+
mkdir -p /home/buildbot/workers
145+
ln -s /home/buildbot/workers /var/lib/buildbot/workers
146+
147+
Adjust ownership and paths to match your distro's conventions.
148+
127149
Create the worker (replace ``WORKERNAME`` and ``WORKERPASSWD`` with
128150
the credentials provided to you from your buildmaster-config issue)::
129151

@@ -276,17 +298,6 @@ The recommended ``buildbot.tac`` settings are:
276298
* ``delete_leftover_dirs = 1`` -- automatically cleans up build directories
277299
that the master no longer needs.
278300

279-
.. tip::
280-
281-
If your system has most of its disk space on ``/home`` rather than on the
282-
root partition, create the worker data under ``/home`` and symlink it so
283-
the packaged systemd unit still works::
284-
285-
mkdir -p /home/buildbot-worker/worker
286-
ln -s /home/buildbot-worker/worker /var/lib/buildbot/worker
287-
288-
Adjust ownership and paths to match your distro's conventions.
289-
290301
.. tip::
291302

292303
Build directories and ``twistd.log`` rotations can accumulate over time.

0 commit comments

Comments
 (0)