configuration reference update

This commit is contained in:
Evgenii Alekseev 2023-08-17 15:21:12 +03:00
parent 37e870920b
commit 8eb80731d4
3 changed files with 12 additions and 1 deletions

View File

@ -305,6 +305,13 @@ This feature requires Github key creation (see below). Section name must be eith
* ``timeout`` - HTTP request timeout in seconds, int, optional, default is ``30``.
* ``username`` - Github authorization user, string, required. Basically the same as ``owner``.
``remote-service`` type
^^^^^^^^^^^^^^^^^^^^^^^
Section name must be either ``remote-service`` (plus optional architecture name, e.g. ``remote-service:x86_64``) or random name with ``type`` set.
* ``type`` - type of the report, string, optional, must be set to ``remote-service`` if exists.
``rsync`` type
^^^^^^^^^^^^^^

View File

@ -196,7 +196,7 @@ class ReportTrigger(Trigger):
"schema": {
"type": {
"type": "string",
"allowed": ["remote-call"],
"allowed": ["ahriman", "remote-call"],
},
"aur": {
"type": "boolean",

View File

@ -95,6 +95,10 @@ class UploadTrigger(Trigger):
"remote-service": {
"type": "dict",
"schema": {
"type": {
"type": "string",
"allowed": ["ahriman", "remote-service"],
},
},
},
"s3": {