Skip to content
Snippets Groups Projects
Commit f514124f authored by James Ennis's avatar James Ennis Committed by richardmaw-codethink
Browse files

using_configuring_artifact_server.rst: Remove examples and redirect to user config/project config

parent 09ab676d
No related branches found
No related tags found
1 merge request!932Update our instructions/examples regarding how we declare remote caches
Pipeline #35717787 passed
......@@ -239,52 +239,12 @@ We can then check if the services are successfully running with:
For more information on systemd services see:
`Creating Systemd Service Files <https://www.devdungeon.com/content/creating-systemd-service-files>`_.
User configuration
~~~~~~~~~~~~~~~~~~
The user configuration for artifacts is documented with the rest
of the :ref:`user configuration documentation <user_config>`.
Declaring remote artifact caches
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Remote artifact caches can be declared within either:
Note that for self-signed certificates, the public key fields are mandatory.
1. The :ref:`project configuration <project_essentials_artifacts>`, or
2. The :ref:`user configuration <config_artifacts>`.
Assuming you have the same setup used in this document, and that your
host is reachable on the internet as ``artifacts.com`` (for example),
then a user can use the following user configuration:
Pull-only:
.. code:: yaml
#
# Artifacts
#
artifacts:
url: https://artifacts.com:11001
# Optional server certificate if not trusted by system root certificates
server-cert: server.crt
Pull and push:
.. code:: yaml
#
# Artifacts
#
artifacts:
url: https://artifacts.com:11002
# Optional server certificate if not trusted by system root certificates
server-cert: server.crt
# Optional client key pair for authentication
client-key: client.key
client-cert: client.crt
push: true
.. note::
Equivalent statements can be delcared in a project's configuration file
(the ``project.conf``).
Please follow the above links to see examples showing how we declare remote
caches in both the project configuration and the user configuration, respectively.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment