Commit 6e7b6a17 authored by Benjamin Blanc's avatar Benjamin Blanc

testnode: add ignore-ssl-certificate option in software.cfg

parent 3f565f87
...@@ -243,10 +243,14 @@ branch = foo ...@@ -243,10 +243,14 @@ branch = foo
extends = %(temp_dir)s/testnode/foo/rep0/software.cfg extends = %(temp_dir)s/testnode/foo/rep0/software.cfg
[rep1] [rep1]
repository = <obfuscated_url>/rep1 repository = <obfuscated_url>/rep1/rep1.git
branch = master
ignore-ssl-certificate = true
[rep2] [rep2]
repository = <obfuscated_url>/rep2 repository = <obfuscated_url>/rep2/rep2.git
branch = foo
ignore-ssl-certificate = true
""" % {'temp_dir': self._temp_dir, 'revision1': revision1, 'revision2': revision2} """ % {'temp_dir': self._temp_dir, 'revision1': revision1, 'revision2': revision2}
self.assertEquals(expected_profile, profile.read()) self.assertEquals(expected_profile, profile.read())
profile.close() profile.close()
......
...@@ -168,6 +168,7 @@ extends = %(software_config_path)s ...@@ -168,6 +168,7 @@ extends = %(software_config_path)s
[%(buildout_section_id)s] [%(buildout_section_id)s]
repository = <obfuscated_url>/%(buildout_section_id)s/%(buildout_section_id)s.git repository = <obfuscated_url>/%(buildout_section_id)s/%(buildout_section_id)s.git
branch = %(branch)s branch = %(branch)s
ignore-ssl-certificate = true
""" % {'buildout_section_id': buildout_section_id, """ % {'buildout_section_id': buildout_section_id,
'branch' : vcs_repository.get('branch','master')}) 'branch' : vcs_repository.get('branch','master')})
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment