summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDaniel Watkins <daniel.watkins@canonical.com>2019-07-29 14:19:14 -0400
committerDaniel Watkins <daniel.watkins@canonical.com>2019-07-29 14:41:52 -0400
commit63c02a8092dcc77163aa542cce8a6105f5759cbc (patch)
treef1b37573639d6c5f72994919df263a096440dc76 /tests
parent1d48093fe91344af6e921f14dec42fc5d2718be4 (diff)
downloadpython-jenkins-job-builder-63c02a8092dcc77163aa542cce8a6105f5759cbc.tar.gz
python-jenkins-job-builder-63c02a8092dcc77163aa542cce8a6105f5759cbc.tar.xz
python-jenkins-job-builder-63c02a8092dcc77163aa542cce8a6105f5759cbc.zip
Revert "Add support for rendering jinja template as yaml"
This reverts commit a9e12ed4a9f5866da0af5fdc68f60b09ca8efa4b. Change-Id: I2bbb2cc167a4c2cd95ac6b376ebe83bcf7a263ad
Diffstat (limited to 'tests')
-rw-r--r--tests/yamlparser/fixtures/jinja-as-yaml-include01.xml31
-rw-r--r--tests/yamlparser/fixtures/jinja-as-yaml-include01.yaml7
-rw-r--r--tests/yamlparser/fixtures/jinja-as-yaml-include01.yaml.inc3
3 files changed, 0 insertions, 41 deletions
diff --git a/tests/yamlparser/fixtures/jinja-as-yaml-include01.xml b/tests/yamlparser/fixtures/jinja-as-yaml-include01.xml
deleted file mode 100644
index 732bb2c4..00000000
--- a/tests/yamlparser/fixtures/jinja-as-yaml-include01.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<project>
- <actions/>
- <description>&lt;!-- Managed by Jenkins Job Builder --&gt;</description>
- <keepDependencies>false</keepDependencies>
- <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
- <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
- <concurrentBuild>false</concurrentBuild>
- <canRoam>true</canRoam>
- <properties>
- <hudson.model.ParametersDefinitionProperty>
- <parameterDefinitions>
- <hudson.model.ChoiceParameterDefinition>
- <name>TEST_CHOICE</name>
- <description/>
- <choices class="java.util.Arrays$ArrayList">
- <a class="string-array">
- <string>a</string>
- <string>b</string>
- <string>c</string>
- </a>
- </choices>
- </hudson.model.ChoiceParameterDefinition>
- </parameterDefinitions>
- </hudson.model.ParametersDefinitionProperty>
- </properties>
- <scm class="hudson.scm.NullSCM"/>
- <builders/>
- <publishers/>
- <buildWrappers/>
-</project>
diff --git a/tests/yamlparser/fixtures/jinja-as-yaml-include01.yaml b/tests/yamlparser/fixtures/jinja-as-yaml-include01.yaml
deleted file mode 100644
index 2ea430f0..00000000
--- a/tests/yamlparser/fixtures/jinja-as-yaml-include01.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
-- job:
- name: test-job-as-yaml
- parameters:
- - choice:
- name: TEST_CHOICE
- choices:
- !include-jinja2-as-yaml: jinja-as-yaml-include01.yaml.inc
diff --git a/tests/yamlparser/fixtures/jinja-as-yaml-include01.yaml.inc b/tests/yamlparser/fixtures/jinja-as-yaml-include01.yaml.inc
deleted file mode 100644
index c1c3c8b3..00000000
--- a/tests/yamlparser/fixtures/jinja-as-yaml-include01.yaml.inc
+++ /dev/null
@@ -1,3 +0,0 @@
-{% for item in ['a', 'b', 'c'] %}
-- {{ item }}
-{% endfor -%}