Fix default value for zuul_artifacts

The case where this isn't set isn't exercised by the tests, so we missed
this.  We need to supply an empty list of artifacts to iterate over if
there are no zuul artifacts.

Change-Id: I082e3546ddc0ff57386063a4f697ae6584db9f90
This commit is contained in:
James E. Blair 2021-06-24 10:49:23 -07:00
parent 4c40b92950
commit 8bdb78476d

View File

@ -1,3 +1,3 @@
# The tests override this variable, which is why we don't use
# zuul.artifacts directly.
zuul_artifacts: "{{ zuul.artifacts }}"
zuul_artifacts: "{{ zuul.artifacts | default([]) }}"