Install pytest-xdist<2.0.0 for c7 jobs

pytest-xdist 2.0.0 is released recently and which pulls psutils
which is failed to install on C7.
https://pypi.org/project/pytest-xdist/2.0.0/

Installing pytest-xdist < 2.0.0 fixes the issue.

It also fixes the package name of tripleo-repos.
Add mode 0644.

Change-Id: I2484fa536a5ed4d88df7662aa2d724e44acd3dd7
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
This commit is contained in:
Chandan Kumar (raukadah) 2020-08-18 18:21:07 +05:30
parent c9e12ad845
commit 9147d636d6
2 changed files with 5 additions and 3 deletions

View File

@ -5,7 +5,7 @@ docker
pytest pytest
pytest-cov pytest-cov
pytest-html pytest-html
pytest-xdist pytest-xdist<2.0.0
sh>=1.12.14,<1.13 sh>=1.12.14,<1.13
molecule==3.0a5 molecule==3.0a5
netaddr netaddr

View File

@ -52,11 +52,13 @@
copy: copy:
content: "{{ tripleo_packages.content }}" content: "{{ tripleo_packages.content }}"
dest: /etc/yum.repos.d/delorean.repo dest: /etc/yum.repos.d/delorean.repo
mode: 0644
- name: Install tripleo-repos package - name: Install tripleo-repos package
become: true
package: package:
name: "python*tripleo-repos" name: "python*-tripleo-repos"
state: present state: latest
- name: Tripleo setup block - name: Tripleo setup block
when: when: