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

Change-Id: I389b82c49a6d7931f8980949a7ba0c16723b69b4
This commit is contained in:
Federico Ressi 2020-04-29 11:04:12 +02:00
parent 03c0748915
commit 936f0884bf
1 changed files with 4 additions and 1 deletions

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