Slavi Pantaleev
c73680712b
Fix (suppress) var-naming ansible-lint errors
...
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#var-naming
We don't really fix these, but just suppress them,
because they're like that intentionally.
We try to name variables in a way that is consistent with the
configuration key they control. If the upstream component uses
camelCase, we also need to include camelCase in the variable name.
2 years ago
Slavi Pantaleev
d073c7ecb3
More ansible-lint fixes
2 years ago
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
2 years ago
Aine
e149f33140
add/unify 'Project source code URL' link across all roles
2 years ago
Daniel Sonck
894669eca2
Change back to working original mx-puppet-slack
...
Now that v0.1.1 is out, which depends on the functional matrix-slack-parser
it works again.
3 years ago
Slavi Pantaleev
9fc60d8c86
Revert "Change back to original mx-puppet-slack"
...
This reverts commit fcfd00bcb4
.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1808
Reverts https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1809
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1810
3 years ago
Daniel Sonck
fcfd00bcb4
Change back to original mx-puppet-slack
...
Closes : #1808
3 years ago
Daniel Sonck
3f45805fd2
Change back to original mx-puppet-discord
...
Closes : #1801
3 years ago
Slavi Pantaleev
999c717cf4
Revert "Temporarily switch to Myned-maintained fork of mx-puppet-discord/mx-puppet-slack"
...
This reverts commit 0103d92df4
.
The same fix has now been merged upstream
(https://gitlab.com/beeper/mx-puppet-monorepo/-/merge_requests/35 ), so
we don't need to use a fork anymore.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1719
3 years ago
Slavi Pantaleev
0103d92df4
Temporarily switch to Myned-maintained fork of mx-puppet-discord/mx-puppet-slack
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1719
We're using a pinned commit of this fork, which patches up the npm/yarn
lock files, so that self-building of the Discord and Slack bridges can
work after GitHub's deprecation of the `git://` and `ssh://` protocols
(https://github.blog/2021-09-01-improving-git-protocol-security-github/ ).
When the issue gets fixed in the Beeper fork (via
https://gitlab.com/beeper/mx-puppet-monorepo/-/merge_requests/35 or
otherwise), we'll get back on it.
3 years ago
Slavi Pantaleev
65f92f043a
Fix mx-puppet-discord container image repository URL
...
Fixup for d8a19e5bf9
3 years ago
Slavi Pantaleev
d8a19e5bf9
Switch to the Beeper-maintained fork of mx-puppet-discord
...
Building mx-puppet-discord appears to have been broken for a while.
Related to:
- https://github.com/matrix-discord/mx-puppet-discord/issues/201
- https://github.com/matrix-discord/mx-puppet-discord/issues/202
- https://github.com/matrix-discord/mx-puppet-discord/issues/203
We'd rather use a fork that is maintained better and by someone who
cares about whether their software works or not, so we'll be using the
Beeper-maintained for from now on.
In the future, we should probably do the same for the Slack bridge
which is also part of the same monorepo
(https://gitlab.com/beeper/mx-puppet-monorepo ).
3 years ago
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
3 years ago
Thracky
b02aa4b799
Add missing slash in url scheme for mediaUrl
3 years ago
Slavi Pantaleev
9babaa5a2b
Fix mx-puppet-discord media URLs using container-network URLs ( http://matrix-nginx-proxy:12080 )
3 years ago
Slavi Pantaleev
d019e9078a
Remove unused variables from mx-puppet-* bridges
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1131
3 years ago
Ahmad Haghighi
e335f3fc77
rename matrix_global_registry to matrix_container_global_registry_prefix related to #990
...
Signed-off-by: Ahmad Haghighi <haghighi@fedoraproject.org>
4 years ago
Ahmad Haghighi
f52a8b6484
use custom docker registry
4 years ago
transcaffeine
dbae18fd6a
feat: push ephemeral events to appservices
...
This adds https://github.com/matrix-org/matrix-doc/pull/2409 to the
appservice registrations, enabling synapse to push EDUs to appservices.
4 years ago
rakshazi
2f887f292c
added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility)
4 years ago
Slavi Pantaleev
d3ecc6f017
Fix bridges failing to upload media when Synapse workers are enabled
4 years ago
Slavi Pantaleev
15f4cc924d
Rename variables (_database_db_name -> _database_name)
4 years ago
Slavi Pantaleev
149872e00c
Add support for automatic (Postgres -> SQLite) migration to mx-puppet-discord
4 years ago
Slavi Pantaleev
e2ba46bf01
Fix Jinja2 syntax error (else if -> elif)
4 years ago
transcaffeine
5d70bc1376
add postgres support for mx-puppet-* with fallback to sqlite in role and migration notice
4 years ago
Slavi Pantaleev
be5263f397
Move self-building git repository URLs to variables (stop hardcoding)
4 years ago
Slavi Pantaleev
5eed874199
Improve self-building experience (avoid conflict with pullable images)
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/716
This patch makes us use more fully-qualified container image names
(either prefixed with docker.io/ or with localhost/).
The latter happens when self-building is enabled.
We've recently had issues where if an image was removed manually
and the service was restarted (making `docker run` fetch it from Docker Hub, etc.),
we'd end up with a pulled image, even though we're aiming for a self-built one.
Re-running the playbook would then not do a rebuild, because:
- the image with that name already exists (even though it's something
else)
- we sometimes had conditional logic where we'd build only if the git
repo changed
By explicitly changing the name of the images (prefixing with localhost/),
we avoid such confusion and the possibility that we'd automatically pul something
which is not what we expect.
Also, I've removed that condition where building would happen on git
changes only. We now always build (unless an image with that name
already exists). We just force-build when the git repo changes.
4 years ago
Hugues Morisset
eb0df37247
Mx-puppet-discord Use official docker image
...
https://github.com/matrix-discord/mx-puppet-discord/issues/80
Thanks Sorunome for setting up the automated build
4 years ago
Hugues Morisset
42e7f5e9bc
Add mx-puppet-discord
4 years ago