add resume

This commit is contained in:
ivankirpichnikov
2025-11-22 02:17:18 +03:00
parent a207e5a217
commit d9a3c39980
33 changed files with 1157 additions and 97 deletions
+4 -6
View File
@@ -15,7 +15,7 @@ build:
[no-cd]
[group("Docker")]
[doc("Compose start")]
up:
up: build
docker compose --profile migrations --profile observability up -d --remove-orphans --quiet-pull --force-recreate --build
# =========
@@ -25,9 +25,7 @@ up:
[no-cd]
[group("Tests")]
[doc("Tests run")]
tests:
just up
tests: up
docker compose --profile migrations --profile tests up tests --remove-orphans --abort-on-container-exit
# =========
@@ -67,10 +65,10 @@ check:
[group("Migrations")]
[doc("Run alembic upgrade")]
migrations-run tag="head":
CONFIGURATION_PATH=config.toml alembic upgrade {{tag}}
CONFIGURATION_PATH=infrastructure/configs/backend/config.toml alembic upgrade {{tag}}
[no-cd]
[group("Migrations")]
[doc("Create new alembic revision")]
migrations-make message="":
CONFIGURATION_PATH=config.toml alembic revision --autogenerate -m "{{message}}"
CONFIGURATION_PATH=infrastructure/configs/backend/config.toml alembic revision --autogenerate -m "{{message}}"