|
branko
|
3a46859c3d4c
|
8 months ago
|
|
|
|
branko
|
f4772b5c7f3a
|
8 months ago
|
|
MAR-192: Fix incorrect prompt for wsgi_website virtual environments:
- Ensure that the virtualenv indicator string ends with a whitespace. - The virtualenv prompt parameter behaves slightly different between the versions of Debian 11 Bullseye and Debian 12 Bookworm - the former being a bit more user-friendly. - Recreate virtual environment if the prompt does not match-up.
|
|
branko
|
cde12eec8256
|
8 months ago
|
|
MAR-192: Added support for Debian 12 Bookworm to wsgi_website role:
- Update list of Python packages that are installed for running the tests. - Paramterise Python version testing (depends on distribution release). Use similar construct like for the php_website role.
|
|
branko
|
ea2565a624f1
|
8 months ago
|
|
MAR-154: Update documentation and test site for Python 2.7 support removal:
- Drop most of the references to Python 2. - Switch anything that has been previously using Python 2.7 to Python 3.
|
|
branko
|
8457949f27d4
|
8 months ago
|
|
MAR-154: Improve incorrect Python version handling in virtual environments:
- This should be helpful when performing distribution upgrades as well (since it should be able to automatically detect a mismatch now).
|
|
branko
|
7f4f7163ae31
|
8 months ago
|
|
MAR-154: Drop suppor for Python 2.7 from the wsgi_website role:
- Mostly a matter of dropping the Python version parameter, and updating some package versioning to account for Python 3 only.
|
|
branko
|
38c3569bdc6a
|
4 years ago
|
|
MAR-151: Added support for Debian 10 Buster to wsgi_website role:
- Updated role reference documentaiton. - Updated role meta information. - Updated tests. - Replace the installation of libmariadbclient-dev-compat library with atftp - the actual package is differently named under Debian Stretch and Debian Buster (which would complicate the test without any benefits). - Drop the fix for root mail alias in Vagrant image - seems it's no longer a problem. - Split-up the test for web application user since it's not possible to keep it all under one parametrised test due to differences in assigned system UID numbers for Debian Stretch and Debian Buster. - Make the test for web application user less dependant on what the actual UID number is in case of default value. By default user should be created as system user, which means its UID number should be less than 1000.
|
|
branko
|
36d96a3fc472
|
4 years ago
|
|
MAR-163: Ensure host.run is not suspectible to shell injection:
- Use host.run's built-in capability for handling parameter escaping and insertion.
|
|
branko
|
5b6d00b0beab
|
4 years ago
|
|
MAR-170: Always enforce use of HTTPS in the wsgi_server role:
- Dropped the enforce_https parameter. - Updated tests. - Updated release notes.
|
|
branko
|
dabe2c541877
|
4 years ago
|
|
|
|
branko
|
23bc0fa0d5c7
|
4 years ago
|
|
MAR-159: Added wsgi_requirements_in parameter to wsgi_website role:
- Added the parameter as optional. - Updated role reference documentation. - Updated release notes. - Updated tests.
|
|
branko
|
19f5f9cab189
|
4 years ago
|
|
MAR-159: Set-up defaults for wsgi_requirements and update tests:
- Set defaults for the wsgi_requirements parameter (for running using Python 2). - Drop the use of futures_version and gunicorn_version from the Molecule tests. - Updated and deduplicated tests related to testing of installed/requested futures and gunicorn package versions.
|
|
branko
|
80299693b896
|
4 years ago
|
|
MAR-150: Use fixtures for X.509 artefacts in the wsgi_website 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
|
f428e318d2ca
|
4 years ago
|
|
MAR-162: Make the https_tls_certificate and https_tls_key parameters mandatory in wsgi_website role:
- Dropped the defaults from wsgi_server role. - Updated group variables in role tests. - Changed the key/certificate file extensions to be more descriptive. - Updated role reference documentation. - Updated usage instructions to include the mandatory parameters.
|
|
branko
|
d752715bb533
|
4 years ago
|
|
MAR-149: Switch to using File.content_string instead of File.content in tests for all roles:
- The .content variant returns contents as bytes, while the content_string returns a string (which is what is wanted in practically all cases).
|
|
branko
|
c2bd99ac87b6
|
5 years ago
|
|
|
|
branko
|
6790c3bb01ce
|
5 years ago
|
|
MAR-148: Fixed the tests for wsgi_website role:
- Fix issues related to newlines in outputs. - Refactor Python version check to make it more robust.
|
|
branko
|
d62b3adec462
|
5 years ago
|
|
|
|
branko
|
6c1d08d39449
|
5 years ago
|
|
|
|
branko
|
0bfda9b0c3fe
|
6 years ago
|
|
MAR-132: Pin packages as part of wsgi_website role test to ensure reproducability:
- Provide explicit list of packages being deployed. This should ensure we can always reproduce the tests without being affected by new releases of packages. - Updated expected requirements in test for the jedi version.
|
|
branko
|
f05151d6f802
|
6 years ago
|
|
MAR-132: Added support for Debian 9 (Stretch) to wsgi_website role:
- Set the shell for application system account explicitly (workaround for Debian bug 865762 in Stretch). - Updated Molecule tests to cover Debian 9. - Updated Molecule test preparation playbook to account for a number of differences between Jessie and Stretch (mainly related to mailing functionality). - Renamed a couple of variables in test for sending out mails to make it clearer what is being looked up as part of regex matching. - Updated Molecule tests where certain paths depend on what Debian release they are ran against. - Split-up Jessie-specific tests into separate file. - Remove the /bin/ss utility instead of renaming it (testinfra socket tests do not work with /bin/ss).
|
|
branko
|
71bc6c4991f8
|
6 years ago
|
|
|
|
branko
|
b23708be6781
|
6 years ago
|
|
|
|
branko
|
c8d4251a6ea5
|
6 years ago
|
|
MAR-131: Added support for specifying Python version in wsgi_website role:
- Introduced additional role parameter for specifying the Python version. - Updated tests to verify new functionality. - Fixed existing tests to account for differences between Python 2 and Python 3 - including changes to WSGI test applications. - Updated documentation, documenting new parameter and fixing one minor typo. - Updated release notes. - Bumped default version of Gunicorn/futures used.
|
|
branko
|
5ccc26477822
|
6 years ago
|
|
|
|
branko
|
b5ed796b566a
|
6 years ago
|
|
MAR-129: Updated wsgi_website role for Ansible 2.5.x and new Molecule:
- Include top-level linting configuration in test configuration file. - Fixed linting errors. - Updated Ansible deprecation warnings related to use of state=installed with apt module. - Updated how hosts are being referenced in tests. - Rename the 'ss' utility in order to properly test socket connectivity as a workaround for Testinfra bug.
|
|
branko
|
a1e0221d24e7
|
7 years ago
|
|
MAR-128: Upgraded tests for ROLE_NAME 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. - Fixed some linting issues. - Updated one of the tests that depend on output of pip freeze due to new versions of packages coming out. - Updated hostname to include Debian version (for future expansion). - Renamded some test data to match new hostname.
|