From 7c43628653c2e42072bc9b5c2c3fe76e778cbbe6 Mon Sep 17 00:00:00 2001 From: Gabo Date: Thu, 19 Sep 2024 18:37:18 +0200 Subject: [PATCH] Update docker compose calls in run --- run | 12 ++++++------ src/test_end_to_end.py | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/run b/run index e0199e4..c58173c 100755 --- a/run +++ b/run @@ -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 { diff --git a/src/test_end_to_end.py b/src/test_end_to_end.py index 15b5f52..90d4f52 100644 --- a/src/test_end_to_end.py +++ b/src/test_end_to_end.py @@ -2,7 +2,6 @@ import json import io import shutil -import subprocess import time from unittest import TestCase import pdfplumber