Release notes for "evaluate_env"

Change-Id: I9a164e317d3a50a2ddb42e5b20c7c2c7bdaf679f
This commit is contained in:
Renat Akhmerov 2017-05-12 16:10:50 +07:00
parent aa1790ca74
commit 0415a7c44b

View File

@ -0,0 +1,16 @@
---
fixes:
- When we pass a workflow environment to workflow parameters
using 'env' Mistral first evaluates it assuming that it
can contain expressions (YAQL/Jinja) For example, one
environment variable can be expressed through the other.
In some cases it causes problems. For example, if the
environment is too big and has many expressions, especially
something like <% $ %> or <% env() %>. Also, in some cases
we don't want any evaluations to happen if we want to
have some informative text in the environment containing
expressions.
In order to address that the 'evaluate_env' workflow parameter
was added, defaulting to True for backwards compatibility.
If it's set to False then it disables evaluation of
expressions in the environment.