From f60150af57b06efe34d7c6f82d263d433b2a93c2 Mon Sep 17 00:00:00 2001 From: Tim Flink Date: Mon, 11 Jan 2016 17:47:38 +0000 Subject: [PATCH] it would help if the section I'm using wasn't commented out --- .../buildmaster-configure/templates/ci.master.cfg.j2 | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/roles/taskotron/buildmaster-configure/templates/ci.master.cfg.j2 b/roles/taskotron/buildmaster-configure/templates/ci.master.cfg.j2 index 18885d0fd3..b23ceb3083 100644 --- a/roles/taskotron/buildmaster-configure/templates/ci.master.cfg.j2 +++ b/roles/taskotron/buildmaster-configure/templates/ci.master.cfg.j2 @@ -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'] = []