Merge "Allows to run tobiko-tox-infrared jobs from other repos than Tobiko"

This commit is contained in:
Zuul 2020-04-29 12:10:09 +00:00 committed by Gerrit Code Review
commit b0bd8bf20d

View File

@ -9,6 +9,8 @@
Run test cases using tobiko infrared plugin
pre-run: playbooks/infrared/pre.yaml
run: playbooks/infrared/run.yaml
required-projects:
x/tobiko
vars:
test_collect_dir: '{{ zuul_output_dir }}/logs'
test_inventory_file: '{{ zuul_work_dir }}/ansible_hosts'
@ -17,7 +19,7 @@
tox_environ:
ANSIBLE_INVENTORY: '{{ test_inventory_file }}'
zuul_output_dir: '{{ ansible_user_dir }}/zuul-output'
zuul_work_dir: "{{ zuul.project.src_dir }}"
zuul_work_dir: "{{ zuul.projects['opendev.org/x/tobiko'].src_dir }}"
- job:
@ -37,6 +39,7 @@
description: |
Run py36 test cases using tobiko infrared plugin on CentOS 8
- job:
name: tobiko-tox-infrared-ubuntu-bionic
parent: tobiko-tox-infrared