Changeset - 0bfda9b0c3fe
[Not reviewed]
0 2 0
Branko Majic (branko) - 5 years ago 2018-10-18 07:59:20
branko@majic.rs
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.
2 files changed with 10 insertions and 2 deletions:
0 comments (0 inline, 0 general)
roles/wsgi_website/molecule/default/playbook.yml
Show inline comments
 
@@ -52,9 +52,17 @@
 
      uid: 5001
 
      use_paste: false
 
      virtualenv_packages:
 
        - dnspython==1.15.0,<1.20.0
 
        # Main packages.
 
        - dnspython==1.15.0
 
        - ptpython==0.41
 
        - prompt-toolkit==1.0.15
 
        # Dependencies.
 
        - docopt==0.6.2
 
        - jedi==0.13.1
 
        - parso==0.3.1
 
        - Pygments==2.2.0
 
        - six==1.11.0
 
        - wcwidth==0.1.7
 
      website_mail_recipients: user
 
      wsgi_application: testapp:application
 
      wsgi_requirements: []
roles/wsgi_website/molecule/default/tests/test_default.py
Show inline comments
 
@@ -309,7 +309,7 @@ def test_python_virtualenv_wrapper_script(host, wrapper_script, expected_owner,
 
        "docopt==0.6.2",
 
        "futures==3.1.0",
 
        "gunicorn==19.7.0",
 
        "jedi==0.12.1",
 
        "jedi==0.13.1",
 
        "parso==0.3.1",
 
        "prompt-toolkit==1.0.15",
 
        "ptpython==0.41",
0 comments (0 inline, 0 general)