Skip to content

Commit

Permalink
pass turbo_registry flag on pipeline start upload (#473)
Browse files Browse the repository at this point in the history
* pass turbo_registry flag on pipeline start upload

* bump version:
  • Loading branch information
plutopulp authored Jul 25, 2024
1 parent b9794d1 commit bd5451d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions pipeline/cloud/schemas/pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class PipelineStartUpload(BaseModel):
pipeline_name: str
pipeline_tag: t.Optional[str]
cluster: PipelineClusterConfig | None = None
turbo_registry: bool = False


class PipelineStartUploadResponse(BaseModel):
Expand Down
1 change: 1 addition & 0 deletions pipeline/console/container/push.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ def push_container(namespace: Namespace):
pipeline_name=pipeline_name,
pipeline_tag=None,
cluster=pipeline_config.cluster,
turbo_registry=True if turbo_registry else False,
).dict(),
)
start_upload_dict = start_upload_response.json()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pipeline-ai"
version = "2.4.4"
version = "2.4.5"
description = "Pipelines for machine learning workloads."
authors = [
"Paul Hetherington <ph@mystic.ai>",
Expand Down

0 comments on commit bd5451d

Please sign in to comment.