From b95f194612029bfdb191da044e9a2b7e03ef3552 Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Mon, 31 Jul 2017 17:46:57 -0400 Subject: Add !include-jinja2 for rendering templates with Jinja2 This template included using !include-jinja2: """ {{ my_var }} """ is rendered the same as an existing template that looks like this: """ {my_var} """ This also allows the use of Jinja2's richer syntax: """ {% for test_environment in configuration.get("envs", ["py35"]) %} tox -e {{ test_environment }} {% endfor %} """ Story: 2001135 Change-Id: Ia3ee21822d6e9237f5ea46796bc8810ecac61e2c --- requirements.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'requirements.txt') diff --git a/requirements.txt b/requirements.txt index 07e73a21..f0e7ab42 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,3 +7,4 @@ pbr>=1.8 # Apache-2.0 stevedore>=1.17.1 # Apache-2.0 python-jenkins>=0.4.8 fasteners +Jinja2 -- cgit