You've already forked RekomenciBackend
add resume
This commit is contained in:
@@ -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}}"
|
||||
|
||||
Reference in New Issue
Block a user