Constrain molecule

This change constrains molecule so we're not pulling in broken or otherwise
incompatible code. Recent changes to upstream molecule have introduced some
instability. To ensure we're always testing with an expected release of
molecule a new upper constraint has been added.

Additionally to ensure we're not creating testing gaps, a modification has
been added to the role addition job definition. This will ensure we're
exercising molecule in the event that any of its requirements change in the
future.

Change-Id: Ib12e9a52ace6d3545757ada6863e58843de99ad9
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This commit is contained in:
Kevin Carter 2019-08-30 17:08:45 -05:00
parent edfe84f274
commit a435b717dd
No known key found for this signature in database
GPG Key ID: CE94BD890A47B20A
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ pytest-cov
pytest-html pytest-html
pytest-xdist pytest-xdist
mock mock
molecule>=2.22rc1 molecule>=2.22rc1,<3
netaddr netaddr
# this is required for the docs build jobs # this is required for the docs build jobs

View File

@ -115,6 +115,7 @@
- ^_skeleton_role_/.* - ^_skeleton_role_/.*
- ^role-addition.yml - ^role-addition.yml
- ^tox.ini - ^tox.ini
- ^molecule-requirements.txt
name: tripleo-ansible-centos-7-role-addition name: tripleo-ansible-centos-7-role-addition
nodeset: centos-7 nodeset: centos-7
parent: tox-molecule parent: tox-molecule