Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor DB cache management in runtests and runmigration #252

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

yvaucher
Copy link
Member

@yvaucher yvaucher commented Sep 7, 2023

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.

In order to extract the DB dump from the image we want this folder to be standalone especially in the CI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant