From 6b6f4b5fb30710dd109646009530f5ec9c18c550 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Tue, 29 Sep 2020 11:06:55 -0500 Subject: [PATCH] Add ansible-requirements as a constraint in CI This change will ensure that the ansible-requirements.txt file is used in molecule jobs as a constraint when creating a test environment. Change-Id: I81b8201e17f8d2c0300f3518d6974e4ea2655ca0 Signed-off-by: Kevin Carter --- zuul.d/playbooks/pre.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zuul.d/playbooks/pre.yml b/zuul.d/playbooks/pre.yml index 96fc843be..c3f9e6d27 100644 --- a/zuul.d/playbooks/pre.yml +++ b/zuul.d/playbooks/pre.yml @@ -41,6 +41,8 @@ virtualenv: "{{ ansible_user_dir }}/test-python" virtualenv_command: "{{ ensure_pip_virtualenv_command }}" virtualenv_site_packages: true + extra_args: >- + --constraint "{{ tripleo_ansible_project_path }}/ansible-requirements.txt" - name: Display test-python virtualenv package versions shell: |-