b6d66646b8
- assure we have docker installed - add .gitreview file - Fix Python shebangs for packaging Change-Id: If9d78891f9b5a1615a9fb1f4251801eec1f29ed5 Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com>
21 lines
828 B
YAML
21 lines
828 B
YAML
---
|
|
|
|
- hosts: all
|
|
environment:
|
|
ANSIBLE_LOG_PATH: "{{ ansible_user_dir }}/zuul-output/logs/ansible-execution.log"
|
|
tasks:
|
|
- name: Run role test job
|
|
shell: |-
|
|
. {{ ansible_user_dir }}/test-python/bin/activate
|
|
. {{ ansible_user_dir }}/{{ zuul.project.src_dir }}/ansible-test-env.rc
|
|
pytest --color=no \
|
|
--html={{ ansible_user_dir }}/zuul-output/logs/reports.html \
|
|
--self-contained-html \
|
|
--ansible-args='{{ tripleo_job_ansible_args | default("") }}' \
|
|
{{ ansible_user_dir }}/{{ zuul.project.src_dir }}/tests/test_molecule.py
|
|
args:
|
|
chdir:
|
|
"{{ ansible_user_dir }}/{{ zuul.project.src_dir }}/validations_common/roles/{{ validations_common_role_name }}"
|
|
executable: /bin/bash
|
|
changed_when: false
|