diff --git a/docs/configuration.rst b/docs/configuration.rst index 91e11d0a..1864ee7c 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -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 ^^^^^^^^^^^^^^ diff --git a/src/ahriman/core/report/report_trigger.py b/src/ahriman/core/report/report_trigger.py index e46a4b1b..a5d441eb 100644 --- a/src/ahriman/core/report/report_trigger.py +++ b/src/ahriman/core/report/report_trigger.py @@ -196,7 +196,7 @@ class ReportTrigger(Trigger): "schema": { "type": { "type": "string", - "allowed": ["remote-call"], + "allowed": ["ahriman", "remote-call"], }, "aur": { "type": "boolean", diff --git a/src/ahriman/core/upload/upload_trigger.py b/src/ahriman/core/upload/upload_trigger.py index e12c145e..75caa759 100644 --- a/src/ahriman/core/upload/upload_trigger.py +++ b/src/ahriman/core/upload/upload_trigger.py @@ -95,6 +95,10 @@ class UploadTrigger(Trigger): "remote-service": { "type": "dict", "schema": { + "type": { + "type": "string", + "allowed": ["ahriman", "remote-service"], + }, }, }, "s3": {