mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-04-24 15:27:17 +00:00
configuration reference update
This commit is contained in:
parent
37e870920b
commit
8eb80731d4
@ -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``.
|
* ``timeout`` - HTTP request timeout in seconds, int, optional, default is ``30``.
|
||||||
* ``username`` - Github authorization user, string, required. Basically the same as ``owner``.
|
* ``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
|
``rsync`` type
|
||||||
^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
@ -196,7 +196,7 @@ class ReportTrigger(Trigger):
|
|||||||
"schema": {
|
"schema": {
|
||||||
"type": {
|
"type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"allowed": ["remote-call"],
|
"allowed": ["ahriman", "remote-call"],
|
||||||
},
|
},
|
||||||
"aur": {
|
"aur": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
@ -95,6 +95,10 @@ class UploadTrigger(Trigger):
|
|||||||
"remote-service": {
|
"remote-service": {
|
||||||
"type": "dict",
|
"type": "dict",
|
||||||
"schema": {
|
"schema": {
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"allowed": ["ahriman", "remote-service"],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"s3": {
|
"s3": {
|
||||||
|
Loading…
Reference in New Issue
Block a user