Skip to content

Commit

Permalink
Test build context
Browse files Browse the repository at this point in the history
  • Loading branch information
originalsouth committed Mar 26, 2024
1 parent e61267f commit a748e1f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions octopoes/.ci/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions octopoes/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a748e1f

Please sign in to comment.