Commit 5b96fa6b authored by Raoul Hidalgo Charman's avatar Raoul Hidalgo Charman Committed by bst-marge-bot

using_config.rst: Add source cache documentation

Part of #440
parent b1dff84c
......@@ -100,6 +100,52 @@ pull only access and push/pull access. For information regarding this and the
server/client certificates and keys, please see:
:ref:`Key pair for the server <server_authentication>`.
Source cache server
~~~~~~~~~~~~~~~~~~~
Similarly global and project specific source caches servers can be specified in
the user configuration.
1. Global source caches
.. code:: yaml
#
# Source caches
#
source-caches:
# Add a cache to pull from
- url: https://cache.com/sources:11001
server-cert: server.crt
# Add a cache to push/pull to/from
- url: https://cache.com/sources:11002
server-cert: server.crt
client-cert: client.crt
client-key: client.key
push: true
# Add another cache to pull from
- url: https://anothercache.com/sources:8080
server-cert: another_server.crt
2. Project specific source caches
.. code:: yaml
projects:
project-name:
artifacts:
# Add a cache to pull from
- url: https://cache.com/sources:11001
server-cert: server.crt
# Add a cache to push/pull to/from
- url: https://cache.com/sources:11002
server-cert: server.crt
client-cert: client.crt
client-key: client.key
push: true
# Add another cache to pull from
- url: https://ourprojectcache.com/sources:8080
server-cert: project_server.crt
.. _user_config_remote_execution:
Remote execution
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment