From 033ece47dd233255411d879fa110930af00879ba Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Mon, 25 Feb 2019 08:22:57 +0100
Subject: [PATCH] [doc] Add notes about linux CI setup

---
 doc/linux.rst | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/doc/linux.rst b/doc/linux.rst
index 5ad04d8f..d78294eb 100644
--- a/doc/linux.rst
+++ b/doc/linux.rst
@@ -119,6 +119,21 @@ the values of ``<internal.ipv4.address>`` and ``<token>`` on the template below)
        Insecure = false
 
 
+.. note::
+
+   You must make both ``/scratch/builds`` and ``/scratch/cache`` owned by the
+   user running the ``gitlab-runner`` process.  Typically, it is
+   ``gitlab-runner``.  These commands, in this case, are in order to complete
+   the setup::
+
+   .. code-block:: sh
+
+      $ mkdir /scratch/builds
+      $ chown gitlab-runner:gitlab-runner /scratch/builds
+      $ mkdir /scratch/cache
+      $ chown gitlab-runner:gitlab-runner /scratch/cache
+
+
 Crontabs
 ========
 
-- 
GitLab