disabling ssl verify for git checkouts in stg buildbot
This commit is contained in:
parent
b590a68b84
commit
ae251c670e
1 changed files with 3 additions and 2 deletions
|
@ -160,7 +160,7 @@ from buildbot.process.properties import Interpolate
|
|||
def create_test_factory(repo_name, func=True):
|
||||
factory = BuildFactory()
|
||||
factory.addStep(Git(repourl=Interpolate('https://bitbucket.org/fedoraqa/%s.git' % repo_name),
|
||||
mode='full', method='clobber'))
|
||||
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=['bash', '-c', 'source env/bin/activate; TEST="true" py.test %s testing/' % '-F' if func else ''], name=repo_name))
|
||||
|
@ -179,7 +179,8 @@ fake_fedorainfra_factory = create_test_factory('fake_fedorainfra')
|
|||
def create_test_factory(repo_name, func=True):
|
||||
factory = BuildFactory()
|
||||
factory.addStep(Git(repourl=Interpolate('{{ repo_base }}/%s.git' % repo_name),
|
||||
mode='full', method='clobber'))
|
||||
mode='full', env={'GIT_SSL_NO_VERIFY': 'yes'},
|
||||
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=['bash', '-c', 'source env/bin/activate; TEST="true" py.test %s testing/' % '-F' if func else ''], name=repo_name))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue