Skip to content

Commit

Permalink
Update docker compose calls in run
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-piles committed Sep 19, 2024
1 parent 5f7997e commit 7c43628
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
12 changes: 6 additions & 6 deletions run
Original file line number Diff line number Diff line change
Expand Up @@ -42,27 +42,27 @@ function linter {
}

function remove_docker_containers {
docker-compose ps -q | xargs docker rm
docker compose ps -q | xargs docker rm
}

function remove_docker_images {
docker-compose config --images | xargs docker rmi
docker compose config --images | xargs docker rmi
}

function start {
docker-compose up --build "${@}"
docker compose up --build "${@}"
}

function start:testing {
docker-compose --profile testing up --build "${@}"
docker compose --profile testing up --build "${@}"
}

function start:local {
docker-compose -f docker-compose.yml -f docker-compose.local.yml up --build "${@}"
docker compose -f docker-compose.yml -f docker-compose.local.yml up --build "${@}"
}

function stop {
docker-compose --profile testing stop
docker compose --profile testing stop
}

function help {
Expand Down
1 change: 0 additions & 1 deletion src/test_end_to_end.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import json
import io
import shutil
import subprocess
import time
from unittest import TestCase
import pdfplumber
Expand Down

0 comments on commit 7c43628

Please sign in to comment.