From 936f0884bfa9a0192d0a82b6e130ee959c73605f Mon Sep 17 00:00:00 2001 From: Federico Ressi Date: Wed, 29 Apr 2020 11:04:12 +0200 Subject: [PATCH] Allows to run tobiko-tox-infrared jobs from other repos than Tobiko Change-Id: I389b82c49a6d7931f8980949a7ba0c16723b69b4 --- zuul.d/infrared.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zuul.d/infrared.yaml b/zuul.d/infrared.yaml index d896fbf6f..e06d8a44e 100644 --- a/zuul.d/infrared.yaml +++ b/zuul.d/infrared.yaml @@ -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