Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
3 jaren geleden
Slavi Pantaleev
34cdaade08
Use fully-qualified module names for builtin Ansible modules
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1939
3 jaren geleden
Aine
e149f33140
add/unify 'Project source code URL' link across all roles
3 jaren geleden
Slavi Pantaleev
3b85a9a994
Upgrade hookshot (1.7.3 -> 1.8.0)
3 jaren geleden
Slavi Pantaleev
ba51997f7b
(BC Break) Redo how metrics are exposed to external Prometheus servers
3 jaren geleden
Slavi Pantaleev
99c24ef0e8
Upgrade Hookshot (1.7.2 -> 1.7.3)
3 jaren geleden
Slavi Pantaleev
12b28a4749
Upgrade Hookshot (1.7.0 -> 1.7.2)
3 jaren geleden
Slavi Pantaleev
677a2fc503
Fix compatibility with ansible=6 / ansible-core=2.13
Details here: https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_6.html#id36
Basically:
```yaml
- name: Prior to 2.13
debug:
msg: '[1] + {{ [2] }}'
- name: 2.13 and forward
debug:
msg: '{{ [1] + [2] }}'
```
Interestingly, we had been using the new/safe syntax in lofs of places.
We were using the broken one in many others though. Hopefully all
instances were fixed by this patch.
3 jaren geleden
Slavi Pantaleev
a1e5ecf551
Upgrade hookshot (1.6.1 -> 1.7.0)
This new version should be buildable on arm64.
See: https://github.com/matrix-org/matrix-hookshot/releases/tag/1.7.0
There's still no prebuild arm64 image, so we continue relying on
self-building there.
3 jaren geleden
HarHarLinks
7390646cd5
add hookshot feeds support
3 jaren geleden
Kim Brose
84ea5f6ecc
Upgrade Hookshot (1.5.0 -> 1.6.1)
3 jaren geleden
Kim Brose
7e062328ff
Upgrade Hookshot (1.4.0 -> 1.5.0)
3 jaren geleden
Slavi Pantaleev
2df993977a
Ensure git cloning when self-building is done with the matrix user, not root
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1749
3 jaren geleden
HarHarLinks
a9e6538ef8
Upgrade Hookshot (1.3.0 -> 1.4.0)
https://github.com/matrix-org/matrix-hookshot/releases/tag/1.4.0
4 jaren geleden
HarHarLinks
ceb2f54970
Make hookshot hardcoded public URLs dynamic
4 jaren geleden
Luke
627333d82b
fix container image
4 jaren geleden
Arthur Brugière
cfd8a9c0f8
[HOOKSHOT] Fix yamllint
4 jaren geleden
Arthur Brugière
b3176957c3
Add hookshot self build for arm64 and amd64
4 jaren geleden
Kim Brose
ea358e208c
Upgrade Hookshot (1.2.0 -> 1.3.0)
4 jaren geleden
Aine
2da3768b20
Added retries to the docker pulls ( #1701 )
4 jaren geleden
Aine
701591e87e
Added retries to the docker pulls
4 jaren geleden
Jim Myhrberg
eeca3c8dca
fix: avoid yaml being wrapped at column 80 via to_nice_yaml
The `to_nice_yaml` helper will by default wrap any string YAML values on
the first space after column 80. This can in worst case yield invalid
YAML syntax. More details in Ansible's documentation here:
https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html#formatting-data-yaml-and-json
In short, you need to explicitly provide a custom width argument of a
high number of some kind to avoid the line wrapping.
4 jaren geleden
László Várady
9cc3c5be76
Fix warning about reverse-proxying when built-in proxy is disabled
`matrix_nginx_proxy_enabled` is usually set to false by users, this is when
the warning should be displayed.
4 jaren geleden
Luis
833ac506fe
pass GET parameters too
This fixes parameters not being passed to the provisioning api
4 jaren geleden
Luis
584e50d117
fix hookshot provisioning url in nginx
Hello, this PR should fix Hookshot container not receiving API calls with the right path because nginx proxy was stripping the /v1 from it.
4 jaren geleden
Kim Brose
f62279581d
Upgrade Hookshot (1.1.0 -> 1.2.0)
all features were actually already silently supported 🎉
upstream changelog: https://github.com/matrix-org/matrix-hookshot/releases/tag/1.2.0
4 jaren geleden
Peter Schümann
211f05abbe
add $is_args$args
to proxy url params in GET requests
4 jaren geleden
HarHarLinks
58771a9c65
hookshot moved to matrix-org namespace
4 jaren geleden
HarHarLinks
d556952bb6
update hookshot to respect protocol and custom ports
4 jaren geleden
Slavi Pantaleev
1ed46f0a86
Remove Jinja2 templating delimiters from when statement
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1629
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1505
4 jaren geleden
HarHarLinks
735eec92cc
update hookshot registration.yml
based on comments in chat:
https://matrix.to/#/!TlZdPIYrhwNvXlBiEk:half-shot.uk/$RbG6itEHVV8J_u5ry1HiFdC76n19M3vmopfQOyRmkKU?via=half-shot.uk&via=matrix.org&via=envs.net
4 jaren geleden
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
4 jaren geleden
Slavi Pantaleev
86c36523df
Replace ExecStopPost with ExecStop
Reverts b1b4ba501fdfaa, 90c9801c560b6, a3c84f78ca9c65a, ..
I haven't really traced it (yet), but on some servers, I'm observing
`ansible-playbook ... --tags=start` completing very slowly, waiting
to stop services. I can't reproduce this on all Matrix servers I manage.
I suspect that either the systemd version is to blame or that some
specific service is not responding well to some `docker kill/rm` command.
`ExecStop` seems to work great in all cases and it's what we've been
using for a very long time, so I'm reverting to that.
4 jaren geleden
HarHarLinks
51baa40eff
fixup! escape hookshot variables using to_json
4 jaren geleden
HarHarLinks
99cf6adf95
fixup! update hookshot private key installation method
4 jaren geleden
HarHarLinks
5300dc7a8b
update hookshot/defaults/main.yml comments
4 jaren geleden
HarHarLinks
f136c1fb8f
fixup! add some hookshot config validation
4 jaren geleden
HarHarLinks
4477711e79
add some hookshot config validation
4 jaren geleden
HarHarLinks
f47bfdfb4f
remove hookshot uninstall comments based on feedback
4 jaren geleden
HarHarLinks
29d0b277f4
fix hookshot missing figma config variable
4 jaren geleden
HarHarLinks
a3c84f78ca
update hookshot.service to ExecStopPost
4 jaren geleden
HarHarLinks
99802bc143
escape hookshot variables using to_json
4 jaren geleden
HarHarLinks
a1a5b16185
update hookshot private key installation method
4 jaren geleden
HarHarLinks
5d07f14235
install openssl for hookshot
using b33ea48
4 jaren geleden
HarHarLinks
df074151cd
update default hookshot webhook mxid prefix
4 jaren geleden
HarHarLinks
58b732a84d
support hookshot permissions management
see Half-Shot/matrix-hookshot#167
4 jaren geleden
HarHarLinks
6f32db3063
fix matrix_hookshot_github_oauth_uri
4 jaren geleden
HarHarLinks
8498ffd8f7
name hookshot github private key consistently
4 jaren geleden
HarHarLinks
28c9e7aac2
fix hookshot commandPrefix jinja2
4 jaren geleden
HarHarLinks
f12cad7a7b
rename hookshot *.yaml to *.yml
4 jaren geleden