Skip to content

Commit

Permalink
updated monkey patch to include ollama
Browse files Browse the repository at this point in the history
  • Loading branch information
bigabig committed Sep 25, 2024
1 parent 6b0baad commit 1adc56e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/monkey_patch_docker_compose_for_backend_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import yaml

with open("docker-compose.yml") as f:
with open("../docker/docker-compose.yml") as f:
file = f.read()

data = yaml.safe_load(file)
Expand All @@ -19,7 +19,7 @@
if disable_ollama:
# remove ray as it's too resource-intensive for CI
data["services"].pop("ollama", None)
data["services"]["celery-background-jobs-worker"]["depends_on"].pop("ollama", None)
data["services"]["celery-background-jobs-worker"]["depends_on"].remove("ollama")

for a in data["services"]:
data["services"][a].pop("deploy", None)
Expand Down

0 comments on commit 1adc56e

Please sign in to comment.