Re-enable SSL for MacOS GH action runners

This commit is contained in:
Polina Bungina
2024-03-06 09:22:18 +01:00
committed by Polina Bungina
parent fd3e3ca472
commit 264b2e8be7
-2
View File
@@ -1073,8 +1073,6 @@ def before_all(context):
context.keyfile = os.path.join(context.pctl.output_dir, 'patroni.key')
context.certfile = os.path.join(context.pctl.output_dir, 'patroni.crt')
try:
if sys.platform == 'darwin' and 'GITHUB_ACTIONS' in os.environ:
raise Exception
with open(os.devnull, 'w') as null:
ret = subprocess.call(['openssl', 'req', '-nodes', '-new', '-x509', '-subj', '/CN=batman.patroni',
'-addext', 'subjectAltName=IP:127.0.0.1', '-keyout', context.keyfile,