From 4e4957fcbc5c3aa4f4272e3e561b2b1e5094425d Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Tue, 23 Nov 2021 15:40:03 +0100 Subject: [PATCH] [doc/macos] Improve macos install [skip ci] --- doc/macos.rst | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/macos.rst b/doc/macos.rst index e71a59a4..71c62285 100644 --- a/doc/macos.rst +++ b/doc/macos.rst @@ -190,7 +190,8 @@ Running regular updates ----------------------- We recommend that the CI machine to have homebrew and installed pip packages -updated regularly (once a week). To do so, setup a cronjob like the following: +updated regularly (once a week). To do so, setup a cronjob like the following, +for the ``admin`` user: .. code-block:: text @@ -198,4 +199,15 @@ updated regularly (once a week). To do so, setup a cronjob like the following: MAILTO="your.email@idiap.ch" 00 12 * * 0 /bin/bash <(curl -s https://gitlab.idiap.ch/bob/bob.devtools/raw/master/doc/macos-ci-install/update-ci.sh) +And one line the following for the ``gitlab`` user, about 30 minutes later, to +give time for the machine updating to be performed. The second cronjob will +re-spawn the gitlab-runner, which may be necessary if it was updated on the +previous step: + +.. code-block:: text + + SHELL=/bin/bash + MAILTO="your.email@idiap.ch" + 30 12 * * 0 /bin/bash <(curl -s https://gitlab.idiap.ch/bob/bob.devtools/raw/master/doc/macos-ci-install/reconfig-gitlab-runner.sh) + .. include:: links.rst -- GitLab