docker-odoo-project icon indicating copy to clipboard operation
docker-odoo-project copied to clipboard

Refactor DB cache management in runtests and runmigration

Open yvaucher opened this issue 1 year ago • 0 comments

Gives most variables a default value making them changable with var=${var:=default}

Extract db restore and dump in a separate db.sh file.

Change (default) value for cachedb directory to make it easier to set a volume on it.

Add || true in runmigration when doing ls -v to ignore the error status and set an empty CACHED_DUMP variable.

Improve slightly the messages.

yvaucher avatar Sep 07 '23 19:09 yvaucher