From a435b717ddf7672feea6e9500aebe44e6b19c433 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Fri, 30 Aug 2019 17:08:45 -0500 Subject: [PATCH] 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 --- molecule-requirements.txt | 2 +- zuul.d/molecule.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/molecule-requirements.txt b/molecule-requirements.txt index a81d2496c..77e25b488 100644 --- a/molecule-requirements.txt +++ b/molecule-requirements.txt @@ -7,7 +7,7 @@ pytest-cov pytest-html pytest-xdist mock -molecule>=2.22rc1 +molecule>=2.22rc1,<3 netaddr # this is required for the docs build jobs diff --git a/zuul.d/molecule.yaml b/zuul.d/molecule.yaml index af2584c38..16f0542f4 100644 --- a/zuul.d/molecule.yaml +++ b/zuul.d/molecule.yaml @@ -115,6 +115,7 @@ - ^_skeleton_role_/.* - ^role-addition.yml - ^tox.ini + - ^molecule-requirements.txt name: tripleo-ansible-centos-7-role-addition nodeset: centos-7 parent: tox-molecule