From a748e1f88bea350688c4ddb9b9b2592dba2d93a6 Mon Sep 17 00:00:00 2001 From: Benny Date: Tue, 26 Mar 2024 13:21:26 +0100 Subject: [PATCH] Test build context --- octopoes/.ci/docker-compose.yml | 4 ++-- octopoes/Makefile | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/octopoes/.ci/docker-compose.yml b/octopoes/.ci/docker-compose.yml index fb58cbf4441..ad8e8f47303 100644 --- a/octopoes/.ci/docker-compose.yml +++ b/octopoes/.ci/docker-compose.yml @@ -32,7 +32,7 @@ services: ci_octopoes: build: - context: . + context: .. command: uvicorn octopoes.api.api:app --host 0.0.0.0 --port 80 depends_on: rabbitmq: @@ -50,7 +50,7 @@ services: ci_octopoes_api_worker: build: - context: . + context: .. command: celery -A octopoes.tasks.tasks worker -E --loglevel=INFO depends_on: rabbitmq: diff --git a/octopoes/Makefile b/octopoes/Makefile index 9095bd54705..a6c524f29f1 100644 --- a/octopoes/Makefile +++ b/octopoes/Makefile @@ -52,6 +52,6 @@ rtest: robot -d reports tests/robot itest: - docker compose --project-directory . -f .ci/docker-compose.yml down --remove-orphans - docker compose --project-directory . -f .ci/docker-compose.yml build $(build_args) - docker compose --project-directory . -f .ci/docker-compose.yml run --rm octopoes_integration + docker compose -f .ci/docker-compose.yml down --remove-orphans + docker compose -f .ci/docker-compose.yml build $(build_args) + docker compose -f .ci/docker-compose.yml run --rm octopoes_integration