diff options
author | Jürg Billeter <j@bitron.ch> | 2017-07-19 18:05:33 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2017-07-20 07:24:56 +0200 |
commit | da2e114b051f841cd1d16bf7bb6362aa3baed002 (patch) | |
tree | 5c2a3a425de5206ae64e7880de1eb6f190a8d465 | |
parent | e67f2509061b23536e14961710e718708f305c06 (diff) | |
download | buildstream-da2e114b051f841cd1d16bf7bb6362aa3baed002.tar.gz |
Artifacts documentation: Add section for summary file updates
-rw-r--r-- | doc/source/artifacts.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/source/artifacts.rst b/doc/source/artifacts.rst index add9d19c7..1f801c080 100644 --- a/doc/source/artifacts.rst +++ b/doc/source/artifacts.rst @@ -117,6 +117,23 @@ For this you will want something like the following in your ``/etc/ssh/sshd_conf ForceCommand bst-artifact-receive --verbose artifacts +Summary file updates +-------------------- +BuildStream uses the OSTree summary file to determine what artifacts are +available in the remote artifact cache. ``ostree summary -u`` updates +the summary file. This command cannot be run concurrently and thus it +cannot be executed by ``bst-artifact-receive``, it has to be triggered +externally. + +A simple way to configure this is to set up a cron job that triggers the +summary file update every 5 minutes. +E.g., create ``/etc/cron.d/artifacts`` with the following content: + +.. code:: + + */5 * * * * artifacts ostree --repo=/home/artifacts/artifacts summary -u + + User Configuration ------------------ The user configuration for artifacts is documented with the rest |