From 9eaab6fd743a3a2e0fc65cbcf8c473bd10d7f753 Mon Sep 17 00:00:00 2001 From: Benedikt Loeffler Date: Thu, 14 Jan 2021 15:19:51 +0100 Subject: [PATCH] Pass environment variables to 'tox envlist config' task As of version 3.21.0, tox now throws an exception if an environment variable used in config is missing. We now need to pass the variables also to the task "Get tox envlist config". Change-Id: I4073f55b6ba3456f3d2db40cafb692efbb478914 --- roles/tox/tasks/siblings.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/tox/tasks/siblings.yaml b/roles/tox/tasks/siblings.yaml index 74eb643fc..c060d2974 100644 --- a/roles/tox/tasks/siblings.yaml +++ b/roles/tox/tasks/siblings.yaml @@ -25,6 +25,7 @@ > {{ _tox_show_config_tempfile.path }} args: chdir: "{{ zuul_work_dir }}" + environment: "{{ tox_environment|combine(tox_constraints_env|default({})) }}" - name: Install any sibling python packages tox_install_sibling_packages: