Slavi Pantaleev
eedf5ad94d
Remove some hardcoded matrix-postgres references
преди 3 години
Slavi Pantaleev
410a915a8a
Move roles/matrix* to roles/custom/matrix*
This paves the way for installing other roles into `roles/galaxy` using `ansible-galaxy`,
similar to how it's done in:
- https://github.com/spantaleev/gitea-docker-ansible-deploy
- https://github.com/spantaleev/nextcloud-docker-ansible-deploy
In the near future, we'll be removing a lot of the shared role code from here
and using upstream roles for it. Some of the core `matrix-*` roles have
already been extracted out into other reusable roles:
- https://github.com/devture/com.devture.ansible.role.postgres
- https://github.com/devture/com.devture.ansible.role.systemd_docker_base
- https://github.com/devture/com.devture.ansible.role.timesync
- https://github.com/devture/com.devture.ansible.role.vars_preserver
- https://github.com/devture/com.devture.ansible.role.playbook_runtime_messages
- https://github.com/devture/com.devture.ansible.role.playbook_help
We just need to migrate to those.
преди 3 години
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.
преди 3 години
Slavi Pantaleev
d073c7ecb3
More ansible-lint fixes
преди 3 години
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
преди 3 години
Aine
e149f33140
add/unify 'Project source code URL' link across all roles
преди 3 години
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 години
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 години
Daniel Sonck
fcfd00bcb4
Change back to original mx-puppet-slack
Closes : #1808
преди 3 години
Daniel Sonck
3f45805fd2
Change back to original mx-puppet-discord
Closes : #1801
преди 3 години
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
преди 4 години
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.
преди 4 години
Slavi Pantaleev
65f92f043a
Fix mx-puppet-discord container image repository URL
Fixup for d8a19e5bf9
преди 4 години
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 ).
преди 4 години
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
преди 4 години
Thracky
b02aa4b799
Add missing slash in url scheme for mediaUrl
преди 4 години
Slavi Pantaleev
9babaa5a2b
Fix mx-puppet-discord media URLs using container-network URLs ( http://matrix-nginx-proxy:12080 )
преди 4 години
Michael Collins
98e6cd685d
sync with previous repo
преди 4 години
Slavi Pantaleev
d019e9078a
Remove unused variables from mx-puppet-* bridges
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1131
преди 4 години
Michael-GMH
89cb5a3d7a
GMH v0.4.2 update
преди 4 години
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 години
Ahmad Haghighi
f52a8b6484
use custom docker registry
преди 4 години
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.
преди 5 години
Michael
33ec5710d9
0.2.1 revision
преди 5 години
rakshazi
2f887f292c
added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility)
преди 5 години
Slavi Pantaleev
d3ecc6f017
Fix bridges failing to upload media when Synapse workers are enabled
преди 5 години
Slavi Pantaleev
15f4cc924d
Rename variables (_database_db_name -> _database_name)
преди 5 години
Slavi Pantaleev
149872e00c
Add support for automatic (Postgres -> SQLite) migration to mx-puppet-discord
преди 5 години
Slavi Pantaleev
e2ba46bf01
Fix Jinja2 syntax error (else if -> elif)
преди 5 години
transcaffeine
5d70bc1376
add postgres support for mx-puppet-* with fallback to sqlite in role and migration notice
преди 5 години
Slavi Pantaleev
be5263f397
Move self-building git repository URLs to variables (stop hardcoding)
преди 5 години
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.
преди 5 години
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
преди 5 години
Hugues Morisset
42e7f5e9bc
Add mx-puppet-discord
преди 5 години