From c52d8430c0008e17d7c42322fa7534c3ee737187 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 15 May 2020 15:51:41 +0200 Subject: [PATCH] build-pdf-docs: Pass environment Run pdf-docs with same environment that is used for the --notest run. Change-Id: I5b6a263e01e574097f03011eaca768730701da97 --- roles/build-pdf-docs/tasks/main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/build-pdf-docs/tasks/main.yaml b/roles/build-pdf-docs/tasks/main.yaml index de7d14f5..bfbe909f 100644 --- a/roles/build-pdf-docs/tasks/main.yaml +++ b/roles/build-pdf-docs/tasks/main.yaml @@ -17,6 +17,7 @@ - name: Run tox with output redirected to a file args: chdir: "{{ zuul_work_dir }}" + environment: "{{ tox_environment|combine(tox_constraints_env|default({})) }}" shell: | echo "Running tox -e {{ tox_pdf_envlist }} -vv > {{ ansible_user_dir }}/zuul-output/logs/sphinx-build-pdf.log 2>&1" echo "Output is redirected to a file as it tends to be quite verbose."