There are two big reasons for doing so: - It relied on functions that were internal to ansible and whole behavior has now changed. The functions to get the extensions and filters from ansible can still be accessed after instantiating an object of the Templar class but the way that this loads variables has now changed and so we can't do the same sort of tests as we did previously without loading the entire variable context for the template file. - This test should now be achieved by running the relevant docker builds that test the templates can render correctly within the full context they need. To catch errors faster we may want to add a jinja linter that does the rudimentry syntax checks without needing to know about the ansible jinja filters and extensions that are available.
Name |
Last commit
|
Last update |
---|---|---|
.github | Loading commit data... | |
docker | Loading commit data... | |
playbooks | Loading commit data... | |
terraform | Loading commit data... | |
tests | Loading commit data... | |
util | Loading commit data... | |
vagrant | Loading commit data... | |
.dockerignore | Loading commit data... | |
.gitignore | Loading commit data... | |
.travis.yml | Loading commit data... | |
AUTHORS | Loading commit data... | |
CHANGELOG.md | Loading commit data... | |
LICENSE.TXT | Loading commit data... | |
Makefile | Loading commit data... | |
README.md | Loading commit data... | |
docker.mk | Loading commit data... | |
github.txt | Loading commit data... | |
openedx.yaml | Loading commit data... | |
pre-requirements.txt | Loading commit data... | |
requirements.txt | Loading commit data... | |
test.mk | Loading commit data... |