Browse Source

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>
changes/06/746706/8
Chandan Kumar (raukadah) 1 month ago
parent
commit
9147d636d6
2 changed files with 5 additions and 3 deletions
  1. +1
    -1
      molecule-requirements.txt
  2. +4
    -2
      tripleo_ansible/roles/test_deps/tasks/main.yml

+ 1
- 1
molecule-requirements.txt View File

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


+ 4
- 2
tripleo_ansible/roles/test_deps/tasks/main.yml View File

@@ -52,11 +52,13 @@
copy:
content: "{{ tripleo_packages.content }}"
dest: /etc/yum.repos.d/delorean.repo
mode: 0644

- name: Install tripleo-repos package
become: true
package:
name: "python*tripleo-repos"
state: present
name: "python*-tripleo-repos"
state: latest

- name: Tripleo setup block
when:


Loading…
Cancel
Save