From 02887db6e594a78407b9cf747303e56051732acf Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 9 Jan 2025 10:09:30 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- deploy.py | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/deploy.py b/deploy.py index 7094089e9..f05ec6fa0 100755 --- a/deploy.py +++ b/deploy.py @@ -240,12 +240,18 @@ def deploy(release, name=None, dry_run=False, diff=False, ip_address=None): helm.extend(["-f", config_file]) if release == "localhost": - helm.extend([ - "--set", f"binderhub.config.BinderHub.hub_url=http://jupyterhub.{ip_address}.nip.io", - "--set", f"binderhub.ingress.hosts={{{ip_address}.nip.io}}", - "--set", f"binderhub.jupyterhub.ingress.hosts={{jupyterhub.{ip_address}.nip.io}}", - "--set", f"static.ingress.hosts={{static.{ip_address}.nip.io}}", - ]) + helm.extend( + [ + "--set", + f"binderhub.config.BinderHub.hub_url=http://jupyterhub.{ip_address}.nip.io", + "--set", + f"binderhub.ingress.hosts={{{ip_address}.nip.io}}", + "--set", + f"binderhub.jupyterhub.ingress.hosts={{jupyterhub.{ip_address}.nip.io}}", + "--set", + f"static.ingress.hosts={{static.{ip_address}.nip.io}}", + ] + ) check_call(helm, dry_run) print(