mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-07-25 16:15:22 -04:00
[PR #264] [MERGED] feat: deployment runtime #360
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/llama_deploy/pull/264
Author: @masci
Created: 9/20/2024
Status: ✅ Merged
Merged: 9/23/2024
Merged by: @masci
Base:
main← Head:massi/deploy📝 Commits (10+)
55ba4a7first commitcd79aecwrap up89964fcfix support for branch speca7e49catest git source manager9c5dc0dadd unit tests3778c67improve test coverage5b3b921add docstrings8cd15b4fix test8aeb43dmore docstringsb1f5065minor📊 Changes
13 files changed (+429 additions, -8 deletions)
View changed files
➕
llama_deploy/apiserver/deployment.py(+183 -0)➕
llama_deploy/apiserver/source_managers/__init__.py(+18 -0)➕
llama_deploy/apiserver/source_managers/git.py(+35 -0)📝
poetry.lock(+44 -1)📝
pyproject.toml(+1 -0)➕
tests/apiserver/conftest.py(+8 -0)➕
tests/apiserver/data/git_service.yaml(+11 -0)➕
tests/apiserver/data/workflow/__init__.py(+3 -0)➕
tests/apiserver/data/workflow/workflow_test.py(+7 -0)➕
tests/apiserver/source_managers/__init__.py(+0 -0)➕
tests/apiserver/source_managers/test_git.py(+34 -0)📝
tests/apiserver/test_config_parser.py(+0 -7)➕
tests/apiserver/test_deployment.py(+85 -0)📄 Description
This PR implements the concept of "deployment" that was introduced along with the "apiserver" in #259
Overview of the abstractions introduced:
Deployment: runs the control plane, the message queue and spawns the services defined in the configuration fileManager: orchestrate multiple deployment instancesSourceManager: a family of components responsible for managing sources (docker/git) for each deploymentGitSourceManager: a concrete implementation ofSourceManagerspecialized for dealing with git sourcesKnown limitations:
TODOandFIXMEin code comments for the detailsNext steps:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.