mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-04-24 15:27:17 +00:00
Compare commits
2 Commits
b2e0ccfd3d
...
7abfa261c5
Author | SHA1 | Date | |
---|---|---|---|
7abfa261c5 | |||
694aeecfa9 |
@ -311,6 +311,12 @@ 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.
|
||||
|
||||
Those triggers have to be installed as a separate package:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
yay -S ahriman-triggers
|
||||
|
||||
Known limitations
|
||||
"""""""""""""""""
|
||||
|
||||
|
@ -1,6 +1,12 @@
|
||||
Maintenance packages
|
||||
--------------------
|
||||
|
||||
Those features require extensions package to be installed before, e.g.:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
yay -S ahriman-triggers
|
||||
|
||||
Generate keyring package
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
@ -5,11 +5,11 @@ How to setup web service
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
#.
|
||||
Install dependencies:
|
||||
Install web service:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
yay -S --asdeps python-aiohttp python-aiohttp-jinja2 python-aiohttp-apispec>=3.0.0 python-aiohttp-cors
|
||||
yay -S -ahriman-web
|
||||
|
||||
#.
|
||||
Configure service:
|
||||
|
@ -95,6 +95,11 @@ Start web service (requires additional configuration):
|
||||
subparser.formatter_class = _HelpFormatter
|
||||
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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user