Slavi Pantaleev
c0308307e2
Make homeserver services sleep after startup, instead of all dependencies sleeping separately
This is an attempt at optimizing service startup.
The effect is most pronounced when many services are restarted one by one.
The systemd service manager role sometimes does this - for example when `just install-service synapse` runs.
In such cases, a 5-second delay for each Synapse worker service
(or other bridge/bot service that waits on the homeserver) quickly adds up to a lot.
When services are all stopped fully and then started, the effect is not so pronounced, because
`matrix-synapse.service` starts first and pulls all worker services (defined as `Wants=` for it).
Later on, when the systemd service manager role "starts" these worker services, they're started already.
Even if they had a 5-second wait each, it would have happened in parallel.
2 лет назад
Slavi Pantaleev
b38b00bbd7
Upgrade mautrix-signal (959eb7eaf9 -> de8c8d97c2)
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3090
Related to https://github.com/mautrix/signal/issues/422
2 лет назад
Slavi Pantaleev
95e505106b
Restore matrix_mautrix_signal_appservice_bot_username usage
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3088
Looks like the migration to the Go-based Signal bridge hardcoded the
`signalbot` username instead of using the variable we had.
Related to: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3041
2 лет назад
Pierre 'McFly' Marty
5caf1fef1d
chore(deps): update signal bridge version + config ( #3084 )
* chore(deps): update signal bridge version + config
* style(deps): rename default note to self config variable
* Add to_json for additional safety
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2 лет назад
Slavi Pantaleev
d6911503a0
Move matrix-bridge-mautrix-signal to its own container network and add native Traefik support
2 лет назад
Slavi Pantaleev
7ec6fd3dfe
Make bridges/bots use matrix_addons_homeserver_client_api_url (instead of matrix_homeserver_container_url)
2 лет назад
Pierre 'McFly' Marty
a266da1b78
fix: space sync config
2 лет назад
Slavi Pantaleev
fc151fed77
Add raw/endraw around problematic texts in matrix-bridge-mautrix-signal/templates/config.yaml
Fixes: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3082
Related to: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3079
2 лет назад
IUCCA
2b2c1880cb
Updated mautrix-signal docker image
2 лет назад
IUCCA
0222e75c19
added new options to mautrix-signal config template
2 лет назад
IUCCA
9c3d8687bf
added new options to mautrix-signal config template
2 лет назад
IUCCA
8f88b5d25e
updated mautrix-signal docker image
2 лет назад
Slavi Pantaleev
abde681b56
Clean up some matrix_nginx_proxy_proxy_matrix_metrics_* references
2 лет назад
Pierre 'McFly' Marty
c76aaf2e0b
fix(signal): tag follows declared version
2 лет назад
Slavi Pantaleev
aa60fdeb00
Do not put architecture stuff in matrix_mautrix_signal_version
.. because matrix_mautrix_signal_version is used in other places
which do not expect it. For example: `matrix_mautrix_signal_container_image_self_build_branch`
Related to: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3041
2 лет назад
Pierre 'McFly' Marty
4db1e5930d
chore: update signal bridge
2 лет назад
Pierre 'McFly' Marty
e5d31b5883
chore: update signal bridge version
2 лет назад
Pierre 'McFly' Marty
cd9411158f
fix: signal docker tag follow system arch
2 лет назад
Pierre 'McFly' Marty
91e39a58f7
feat: relay mode in signal
2 лет назад
Pierre 'McFly' Marty
1894f84b8a
chore: update bridge docker tag
2 лет назад
Pierre 'McFly' Marty
a8e14ac79e
fix: ansible yaml syntax
2 лет назад
Pierre 'McFly' Marty
81e015db9d
feat: auto removal of signal-daemon service
2 лет назад
Pierre 'McFly' Marty
b426a68316
chore: update mautrix-signal for legacy compat.
2 лет назад
Pierre 'McFly' Marty
c93b642f90
doc: check typo
2 лет назад
Pierre 'McFly' Marty
2f6525ccb3
refactor: remove signalgo and update signal to 'after merge'
2 лет назад
Slavi Pantaleev
2511b34a7c
Stop containers gracefully, instead of outright killing them
2 лет назад
Aine
95c2db3bb3
mautrix: allow relay access by default, closes #3014
2 лет назад
Samuel Meenzen
c846ed199b
Annotate version numbers with renovate metadata
2 лет назад
Aine
a5cb6272d8
add global bridges relay mode switch
3 лет назад
Aine
dc4b4d87d2
Update mautrix-signal 0.4.2 -> 0.4.3
3 лет назад
Yousef Amar
39ae66602c
Update signald version
0.23.1 no longer syncs groups properly, the solution is to use 0.23.2, which works as expected
3 лет назад
Aine
7399496d33
one var to control encryption across all bridges ( #2629 )
* one var to control encryption across all bridges
* move var to matrix-base
3 лет назад
Slavi Pantaleev
dddfee16bc
Fix all 300+ ansible-lint-reported errors
3 лет назад
Slavi Pantaleev
611a74bde2
Use |to_json in mautrix metrics configuration
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2427
3 лет назад
Slavi Pantaleev
d82d0ad84b
Add _metrics_proxying_enabled variables to mautrix bridges
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2427
`metrics_enabled` should only expose the metrics locally, on the
container network, so that a local Prometheus can consume them.
Exposing them publicly should be done via a separate toggle (`metrics_proxying_enabled`).
This is how all other roles work, so this makes these mautrix roles consistent with the rest.
3 лет назад
Adrien le Maire
9eaf6944e3
add nginx proxy connfig for mautrix metrics
3 лет назад
Adrien le Maire
691ef13cab
template metric toggle for mautrix bridges supporting it
3 лет назад
Aine
d1b4a6ebe1
unify docker images urls
3 лет назад
Kuchenmampfer
d1442dec15
Upgrade Signald
Fixes the following issue when trying to use the !pm <phone number> command: https://gitlab.com/signald/signald/-/issues/345
3 лет назад
Slavi Pantaleev
ceb2c30277
Upgrade mautrix-signal (v0.4.1 -> v0.4.2)
3 лет назад
Slavi Pantaleev
2688e8bfc3
Optimize initial installation by not reloading systemd after each .service install
We expect `--tags=start` to handle systemd reloading, so we don't need
to do it manually each time we install/uninstall a .service file.
3 лет назад
Slavi Pantaleev
7b43ef34b7
Remove more hardcoded matrix-postgres references
3 лет назад
Slavi Pantaleev
a04f6f4e3d
Optimize uninstall tasks a bit
- forego removing Docker images - it's not effective anyway, because it
only removes the last version.. which is a drop in the bucket, usually
- do not reload systemd - it's none of our business. `--tags=start`,
etc., handle this
- combine all uninstall tasks under a single block, which only runs if
we detect traces (a leftover systemd .service file) of the component.
If no such .service is detected, we skip them all. This may lead to
incorect cleanup in rare cases, but is good enough for the most part.
3 лет назад
Slavi Pantaleev
61f67d8f0a
Add install-* tags for quicker runs
3 лет назад
Slavi Pantaleev
7c2a7a8eb6
Replace most import_tasks calls with include_tasks for improved performance
3 лет назад
Slavi Pantaleev
07c23b7cb0
Remove matrix_synapse_role_executed and various tasks that check it
This was useful when the order of these roles in relation to Synapse
mattered (when we were injecting stuff into Synapse variables during
runtime). This is no longer the case since 0ea7cb5d1812a88, so all of
this can be removed.
3 лет назад
Slavi Pantaleev
0ea7cb5d18
Remove various init.yml files - initialize systemd services, etc., statically (not at runtime)
3 лет назад
Slavi Pantaleev
d3bd1ca024
matrix_*_retries_{count,delay} -> devture_playbook_help_*_retries_{count,delay}
3 лет назад
Slavi Pantaleev
7086c0ebe3
matrix_host_command_sh -> devture_systemd_docker_base_host_command_sh (via com.devture.ansible.role.systemd_docker_base)
3 лет назад
Slavi Pantaleev
a9a81460ec
matrix_host_command_docker -> devture_systemd_docker_base_host_command_docker (via com.devture.ansible.role.systemd_docker_base)
3 лет назад