mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-26 15:40:21 +00:00
Compare commits
1
Commits
master
...
ci/macos-ssl
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
264b2e8be7 |
@@ -1073,8 +1073,6 @@ def before_all(context):
|
|||||||
context.keyfile = os.path.join(context.pctl.output_dir, 'patroni.key')
|
context.keyfile = os.path.join(context.pctl.output_dir, 'patroni.key')
|
||||||
context.certfile = os.path.join(context.pctl.output_dir, 'patroni.crt')
|
context.certfile = os.path.join(context.pctl.output_dir, 'patroni.crt')
|
||||||
try:
|
try:
|
||||||
if sys.platform == 'darwin' and 'GITHUB_ACTIONS' in os.environ:
|
|
||||||
raise Exception
|
|
||||||
with open(os.devnull, 'w') as null:
|
with open(os.devnull, 'w') as null:
|
||||||
ret = subprocess.call(['openssl', 'req', '-nodes', '-new', '-x509', '-subj', '/CN=batman.patroni',
|
ret = subprocess.call(['openssl', 'req', '-nodes', '-new', '-x509', '-subj', '/CN=batman.patroni',
|
||||||
'-addext', 'subjectAltName=IP:127.0.0.1', '-keyout', context.keyfile,
|
'-addext', 'subjectAltName=IP:127.0.0.1', '-keyout', context.keyfile,
|
||||||
|
|||||||
Reference in New Issue
Block a user