mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-04-27 00:37:18 +00:00
Compare commits
No commits in common. "7abfa261c52240ae57d1cc7f5cc0c336eb7af546" and "b2e0ccfd3d9e0af872d44f692c8339da362aa850" have entirely different histories.
7abfa261c5
...
b2e0ccfd3d
@ -311,12 +311,6 @@ Automatic worker nodes discovery
|
|||||||
|
|
||||||
Instead of setting ``${build:workers}`` option explicitly it is also possible to configure services to load worker list dynamically. To do so, the ``ahriman.core.distributed.WorkerLoaderTrigger`` and ``ahriman.core.distributed.WorkerTrigger`` must be used for **master** and **worker** nodes respectively. See recipes for more details.
|
Instead of setting ``${build:workers}`` option explicitly it is also possible to configure services to load worker list dynamically. To do so, the ``ahriman.core.distributed.WorkerLoaderTrigger`` and ``ahriman.core.distributed.WorkerTrigger`` must be used for **master** and **worker** nodes respectively. See recipes for more details.
|
||||||
|
|
||||||
Those triggers have to be installed as a separate package:
|
|
||||||
|
|
||||||
.. code-block:: shell
|
|
||||||
|
|
||||||
yay -S ahriman-triggers
|
|
||||||
|
|
||||||
Known limitations
|
Known limitations
|
||||||
"""""""""""""""""
|
"""""""""""""""""
|
||||||
|
|
||||||
|
@ -1,12 +1,6 @@
|
|||||||
Maintenance packages
|
Maintenance packages
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
Those features require extensions package to be installed before, e.g.:
|
|
||||||
|
|
||||||
.. code-block:: shell
|
|
||||||
|
|
||||||
yay -S ahriman-triggers
|
|
||||||
|
|
||||||
Generate keyring package
|
Generate keyring package
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
@ -5,11 +5,11 @@ How to setup web service
|
|||||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
#.
|
#.
|
||||||
Install web service:
|
Install dependencies:
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
yay -S -ahriman-web
|
yay -S --asdeps python-aiohttp python-aiohttp-jinja2 python-aiohttp-apispec>=3.0.0 python-aiohttp-cors
|
||||||
|
|
||||||
#.
|
#.
|
||||||
Configure service:
|
Configure service:
|
||||||
|
@ -95,11 +95,6 @@ Start web service (requires additional configuration):
|
|||||||
subparser.formatter_class = _HelpFormatter
|
subparser.formatter_class = _HelpFormatter
|
||||||
subparser.set_defaults(handler=handler, parser=_parser)
|
subparser.set_defaults(handler=handler, parser=_parser)
|
||||||
|
|
||||||
# sort actions alphabetically in both choices and help message
|
|
||||||
# pylint: disable=protected-access
|
|
||||||
subparsers._choices_actions = sorted(subparsers._choices_actions, key=lambda action: action.dest)
|
|
||||||
subparsers.choices = dict(sorted(subparsers.choices.items()))
|
|
||||||
|
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user