Skip to content

Commit

Permalink
feat: Remove runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
RezaRahemtola committed Nov 28, 2024
1 parent 1f6ca13 commit 7551bd3
Show file tree
Hide file tree
Showing 8 changed files with 715 additions and 1,766 deletions.
1,456 changes: 712 additions & 744 deletions backend/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ package-mode = false
python = "^3.12"
fastapi = { extras = ["standard"], version = "^0.115.2" }
aleph-sdk-python = "^1.1.0"
libertai-utils = "^0.0.5"
libertai-utils = "^0.0.8"
setuptools = "^75.4.0"

[tool.poetry.group.dev.dependencies]
Expand Down
4 changes: 2 additions & 2 deletions backend/src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ async def update(
code: UploadFile = File(...),
packages: UploadFile = File(...),
) -> UpdateAgentResponse:
env_variables = json.loads(env_variables)
env_variables_dict = json.loads(env_variables)
agents = await fetch_agents([agent_id])

if len(agents) != 1:
Expand Down Expand Up @@ -195,7 +195,7 @@ async def update(
program_ref=code_ref,
entrypoint="run",
runtime="63f07193e6ee9d207b7d1fcf8286f9aee34e6f12f101d2ec77c1229f92964696",
environment_variables=env_variables,
environment_variables=env_variables_dict,
channel=config.ALEPH_CHANNEL,
encoding=Encoding.squashfs,
persistent=False,
Expand Down
98 changes: 0 additions & 98 deletions runtimes/python3.11-debian12/create_disk_image.sh

This file was deleted.

58 changes: 0 additions & 58 deletions runtimes/python3.11-debian12/init0.sh

This file was deleted.

Loading

0 comments on commit 7551bd3

Please sign in to comment.