Skip to content

Commit

Permalink
Temp changes for local testing
Browse files Browse the repository at this point in the history
  • Loading branch information
christianversloot committed Jan 30, 2024
1 parent 57949b8 commit 76fdb29
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
3 changes: 2 additions & 1 deletion src/zenml/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ def handle_int_env_var(var: str, default: int = 0) -> int:

# Services
DEFAULT_SERVICE_START_STOP_TIMEOUT = 60
DEFAULT_LOCAL_SERVICE_IP_ADDRESS = "127.0.0.1"
# DEFAULT_LOCAL_SERVICE_IP_ADDRESS = "127.0.0.1"
DEFAULT_LOCAL_SERVICE_IP_ADDRESS = "0.0.0.0"
ZEN_SERVER_ENTRYPOINT = "zenml.zen_server.zen_server_api:app"

STEP_SOURCE_PARAMETER_NAME = "step_source"
Expand Down
18 changes: 9 additions & 9 deletions src/zenml/stack/stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -805,15 +805,15 @@ def prepare_pipeline_deployment(
f"for more information."
)

if self.requires_remote_server and Client().zen_store.is_local_store():
raise RuntimeError(
"Stacks with remote components such as remote orchestrators "
"and step operators require a remote "
"ZenML server. To run a pipeline with this stack you need to "
"connect to a remote ZenML server first. Check out "
"https://docs.zenml.io/user-guide/starter-guide/switch-to-production "
"for more information on how to deploy ZenML."
)
# if self.requires_remote_server and Client().zen_store.is_local_store():
# raise RuntimeError(
# "Stacks with remote components such as remote orchestrators "
# "and step operators require a remote "
# "ZenML server. To run a pipeline with this stack you need to "
# "connect to a remote ZenML server first. Check out "
# "https://docs.zenml.io/user-guide/starter-guide/switch-to-production "
# "for more information on how to deploy ZenML."
# )

for component in self.components.values():
component.prepare_pipeline_deployment(
Expand Down

0 comments on commit 76fdb29

Please sign in to comment.