|
branko
|
0be45939fc2a
|
2 months ago
|
|
|
|
branko
|
5eb7821a1e4d
|
2 months ago
|
|
MAR-218: Switch to using ldap_attrs module:
- Update invocations and syntax. - Drop the workaround for configuring TLS on the LDAP server (should be possible to set all relevant attributes at the same time at this point). - Group some invocations where it makes sense.
|
|
branko
|
c10934519e18
|
2 months ago
|
|
MAR-218: Switch to using fully-qualified collection names for all tasks:
- Ensures there is no ambiguity when invoking a module.
|
|
branko
|
7cabc17c71c3
|
2 months ago
|
|
MAR-218: Quote all octal values in YAML files:
- Fixes linting errors, and ensures there is no ambiguity in case of YAML specification changes.
|
|
branko
|
2d15529786b7
|
2 months ago
|
|
MAR-218: Fix linting errors related to commands doing unconditional changes:
- Tasks run during the prepare stage of test runs do not matter. - Some of the role tasks are already effectively running only when change _will_ happen (when it is detected via variable registered by a previous task).
|
|
branko
|
694893c0259a
|
2 months ago
|
|
MAR-218: Fix linting errors for unnamed plays:
- All plays should be named at this point. - Improve naming of some plays. - Group some of the common tasks together to speed-up the prepare step. - Minor refactoring to make the prepare playbooks more consistent across the roles.
|
|
branko
|
28de9251c7aa
|
2 months ago
|
|
|
|
branko
|
3c51248b600c
|
8 months ago
|
|
MAR-192: Switch to using go-sendxmpp where possible for testing XMPP server role:
- The sendxmpp in Debian 12 Bookworm is quite broken at this point, and go-sendxmpp is somewhat close in terms of interface etc. - Fix a number of tests related to sending messages.
|
|
branko
|
c1abe824342c
|
8 months ago
|
|
MAR-192: Added support for Debian 12 Bookworm to xmpp_server role:
- Some of the tests are still failing, namely the ones centered around the sendxmpp tool (which seems completely broken at this point in Debian 12 Bookworm)
|
|
branko
|
0758b92e0638
|
8 months ago
|
|
MAR-192: Align IP ranges used for testing VMs in the xmpp_sever role:
- Use two consecutive ranges for Debian 11 Bullseye like in mail_server.
|
|
branko
|
334a2f00fdf4
|
8 months ago
|
|
|
|
branko
|
fec5f67faec1
|
9 months ago
|
|
|
|
branko
|
814be5def61d
|
11 months ago
|
|
MAR-189: Added support for Debian 11 Bullseye to xmpp_server role:
- Roll-out LDAP client configuration since Bullseye does not come with a stock one at /etc/ldap/ldap.conf that sets the trust anchor correctly for validating LDAP server certificates. - Drop the backports pinning in case of Bullseye (for now let's try to keep the Buster and Bullseye at same versions for simplicity). - Drop installation of Python apt bindings (no longer used). - Tests for Buster and Bullseye need to be split-up a bit due to some differences around backports etc.
|
|
branko
|
3d7effd414c9
|
11 months ago
|
|
MAR-189: Dropped deprecation-related tasks and tests for xmpp_server role:
- Migration from Prosody project repositories should have been done already as part of the 7.0.1 release. - Simplifies the code a bit. - Drop leftover deprecated library plugin path.
|
|
branko
|
257a52b3f69d
|
11 months ago
|
|
|
|
branko
|
14e9fb107a9a
|
11 months ago
|
|
MAR-186: Reorder the deprecation tasks for xmpp_server role to make the runs reliable:
- Deprecated apt repository really needs to be removed first in case it has an unresolvable URL (so the backports repository cache update would trigger correctly). - Use the file removal for Prosody repository as well to make sure the file is dropped.
|
|
branko
|
065740010e44
|
11 months ago
|
|
|
|
branko
|
fb34333e4b48
|
11 months ago
|
|
MAR-181: Use Debian-provided Prosody package instead of project repository:
- Upstream repository has a tendency to drop support for older Debian releases, and to completely wipe old version repositories. - It should be way less hassle to simply start using the Debian-provided packages instead. - Introduces deprecation tests to check if the role will also clean-up the non-Debian packages.
|
|
branko
|
895e9bd5a83b
|
15 months ago
|
|
|
|
branko
|
341f6d0f5072
|
15 months ago
|
|
MAR-181: Added workaround for Debian Buster tests:
- The upstream has dropped the repositories for Debian Buster. - Depend on alternative repository set-up on Majic servers. - Not a permanent fix, but at least it keeps the tests going.
|
|
branko
|
4f29bd1aa05b
|
15 months ago
|
|
MAR-181: Drop support for Debian 9 Stretch from the xmpp_server role:
- Switch to using IPs from VirtualBox default allowed host-only network subnets. - Drop Stretch-specific workarounds, code, and tests.
|
|
branko
|
bc60f4771dd4
|
4 years ago
|
|
|
|
branko
|
449e6423959c
|
4 years ago
|
|
MAR-151: Added support for Debian 10 Buster to xmpp_server role:
- Updated role reference documentaiton. - Updated role meta information. - Updated tests. - Enable lower-level TLS protocols (1.0/1.1) in global OpenSSL configuration file on Buster in order to be able to test the xmpp_server_tls_protocol parameter (otherwise Prosody completely refuses to use them even if listed in its configuration). - Move stretch-specific tests into its own file (for backported lua-ldap library), and run them on Debian 9 Stretch machines only.
|
|
branko
|
91e4754320e6
|
4 years ago
|
|
MAR-164: Fix Prosody TLS configuration in xmpp_server role:
- Added warning to role reference documentation about what DNS names need to be included in the subject alternative name of issued certificate used for Prosody. - Added crontab with script that validates the certificate on daily basis. - Updated tests to include the proxy.DOMAIN and conference.DOMAIN DNS names in subject alternative name for generated test certificates. - Added and updated tests that cover new functionality. - Fixed the Prosody TLS configuration to have common parameters specified in general section, and any kind of overrides (mainly the ciphers) in more specific sections. - Updated release notes.
|
|
branko
|
24033bb8b1a5
|
4 years ago
|
|
|
|
branko
|
eb6d9c7d6651
|
4 years ago
|
|
MAR-171: Make the xmpp_domains parameter mandatory:
- Updated release notes. - Updated role reference documentation. - Dropped the default value for parameter from the xmpp_server role. - Updated tests.
|
|
branko
|
52c4a4001c46
|
4 years ago
|
|
MAR-164: Harden the c2s TLS configuration for the XMPP server role:
- Updated the xmpp_server role. - Added (optional) xmpp_server_tls_protocol and xmpp_server_tls_ciphers parameters for specifying the desired TLS protocol version and ciphers for the c2s connections. - Updated XMPP server configuration to introduce separate TLS configuration for the s2s and c2s (legacy included) connections. - Drop support for Prosody 0.9 since it is not possible to have separate TLS configuration for c2s and s2s connections. - Updated role reference documentation.
|
|
branko
|
87f4f8572370
|
4 years ago
|
|
MAR-150: Use fixtures for X.509 artefacts in the xmpp_server role:
- Removed the statically generated artefacts. - Generate X.509 artefacts for tests using Gimmecert. - Updated paths to point to generated artefacts. - Introduced cleanup playbook for removing generated artefacts.
|
|
branko
|
c92d79571cf9
|
4 years ago
|
|
|
|
branko
|
e75d5d4fba3b
|
4 years ago
|
|
|
|
branko
|
b69aa445807f
|
4 years ago
|
|
|
|
branko
|
ceb51ff23ae3
|
6 years ago
|
|
MAR-132: Added support to xmpp_server role for Debian 9 (Stretch): - Updated tests to include Debian 9 in testing. Existing private keys are reused where possible (since most of the naming is identical between the machines with jessie/stretch). - Updated invocation of sendxmpp in tests as workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854210. - Updated testing of imported keys to accomodate differences between gpg/gpg2 (used by apt-key in Jessie/Stretch).
|
|
branko
|
c64473fcd1a8
|
6 years ago
|
|
MAR-132: LDAP-related fixes to xmpp_server role tests:
- Do not create LDAP accounts through the ldap_entries parameter of ldap_server, use the ldap_entry and ldap_attr modules directly.
|
|
branko
|
2ada86e90026
|
6 years ago
|
|
MAR-129: Updated xmpp_server role for Ansible 2.5.x and new Molecule:
- Include top-level lint configuration in test configuration. - Fixed linting errors. - Moved test playbook variables into group_vars and host_vars. - Fixed deprecation warnings from Ansible. - Updated how hosts are referenced within tests.
|
|
branko
|
e970d4afbea4
|
7 years ago
|
|
MAR-128: Upgraded tests for xmpp_server role:
- Switch to new Molecule configuration. - Updated set-up playbook to use become: yes. - Moved some preparatory steps outside of the main playbook (eases idempotence tests). - Updated tests to reference the yml inventory file. - Updated tests to use new fixture (host instead of individual ones). - Switched to extracting hostname instead of hard-coding it in a couple of tests. - Renamed hosts to include the Debian version. - Updated names for some of the test data to cater to change in host names. - Switched to using more robust task for populating /etc/hosts.
|