drud / quicksprint

A basic toolkit to get people started with ddev and a Drupal codebase on macOS, Linux, or WIndows
Other
24 stars 16 forks source link

Feature - generate database dump in packaging script #7

Closed mradcliffe closed 6 years ago

mradcliffe commented 6 years ago

The database dump should be as up-to-date as possible with the latest Drupal core branch development so that there are no entity or database updates necessary. Core development in pre-release (pre-alpha) may have entity schema changes that are not stable or experimental.

Something like ddev exec drush sql-dump --gzip --result-file=/some/path/to/dump.sql or something? result-file probably needs to be the container volume, and then copied from there into .db_dumps?

rfay commented 6 years ago

Good point, makes sense. Maybe the builder script should do a drush si and dump the result.

mradcliffe commented 6 years ago

Closing. Brian implemented this.