it would help if the section I'm using wasn't commented out

This commit is contained in:
Tim Flink 2016-01-11 17:47:38 +00:00
parent 9ea739212c
commit f60150af57

View file

@ -181,15 +181,17 @@ libtaskotron_factory = create_test_factory('libtaskotron')
resultsdb_factory = create_test_factory('resultsdb')
resultsdb_api_factory = create_test_factory('resultsdb_api')
fake_fedorainfra_factory = create_test_factory('fake_fedorainfra')
{#
{% endif %}
{% if deployment_type == 'qa-stg' %}
def create_test_factory(repo_name, func=True):
factory = BuildFactory()
factory.addStep(Git(repourl=Interpolate('{{ repo_base }}/%s.git' % repo_name),
mode='full', env={'GIT_SSL_NO_VERIFY': 'yes'},
method='clobber'))
# factory.addStep(Git(repourl=Interpolate('{{ repo_base }}/%s.git' % repo_name),
# mode='full', env={'GIT_SSL_NO_VERIFY': 'yes'},
# method='clobber'))
factory.addStep(Git(repourl=Interpolate('https://bitbucket.org/fedoraqa/%s.git' % repo_name),
mode='full',method='clobber'))
factory.addStep(ShellCommand(command=['virtualenv', '--system-site-packages', 'env']))
factory.addStep(ShellCommand(command=['bash', '-c', 'source env/bin/activate; pip install -r requirements.txt']))
factory.addStep(ShellCommand(command=['doit', 'test'])
@ -201,7 +203,7 @@ def create_test_factory(repo_name, func=True):
libtaskotron_factory = create_test_factory('LTRN/libtaskotron')
{% endif %}
#}
from buildbot.config import BuilderConfig
c['builders'] = []