From 3fb20ab653e5457142e103c3fcb4ec19f5f9c155 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 9 Dec 2017 22:40:31 +0100 Subject: [PATCH] adjust zuul_work_dir determination for cross-jobs zuul.projects was changed from a list to a dict recently, so we need to adjust to a different way of finding the zuul_work_dir Change-Id: If2c3042ce5bc10a9d02decef34abdad65a53f5f8 --- .zuul.d/cross-jobs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zuul.d/cross-jobs.yaml b/.zuul.d/cross-jobs.yaml index 792dd977e7..50115d4329 100644 --- a/.zuul.d/cross-jobs.yaml +++ b/.zuul.d/cross-jobs.yaml @@ -13,7 +13,7 @@ Use the specified tox environments (``ALL`` selects all). vars: - zuul_work_dir: "{{ (zuul.projects | selectattr('required') | selectattr('name', 'match', '^(?!openstack/requirements)') | list)[0].src_dir }}" + zuul_work_dir: "{{ (zuul.projects.values() | selectattr('required') | selectattr('name', 'match', '^(?!openstack/requirements)') | list)[0].src_dir }}" # NOTE(jeblair): temporarily disabled tox_siblings until the fix # in https://review.openstack.org/514058 lands. tox_install_siblings: false