Skip to content

odpm tools by scenario

AI-translated from Russian.

A single odpm utility provides a set of commands; in different scenarios (ODPM_SCENARIO) some of them do not apply or behave differently.

Task Developer Server Image build
Initialization odpm --init yes yes yes
Prepare odpm / --skip-start yes yes yes
Start docker compose up yes yes via docker compose after --skip-start / --build-image (bare odpm in ci rejected, ADR-017)
Database and modules -d -i -u yes yes after compose up via compose exec (not bare odpm)
Module tests -t yes rarely yes
Database backup and restore yes yes yes
Admin password change, translations yes yes as needed
Module scaffold scaffold yes no no
VS Code debugging yes no no
Module secrets (--secrets-file, /run/odpm/secrets.json) yes yes no
Run pre-commit in container yes no no
Change plan odpm plan yes yes yes
Lock update --update-lock coordinator read strict
Image build --build-image no no yes
Backend --image-builder / env ODPM_CI_IMAGE_BUILDER (docker, kaniko) no no yes
Publish --image-push / env ODPM_CI_IMAGE_PUSH no no yes
Prepare without git --no-git-update yes yes yes

Full parameter list: command line. For kaniko see ci scenario and ADR-016.