3.3.0 "1990's Theme"
At long last, Drupal VM is the easiest way to compare Drupal running on MySQL/MariaDB vs. PostgreSQL! In the works for over a year (and thanks in large part to the efforts of @oxyc, and the egging-on @gitoutthere, @JorisVanEijden, @kevinquillen, @DougDavenport, @laceysanderson, and @fubarhouse), this is one of the biggest changes in the past few releases.
All you need to do to switch from MySQL (or MariaDB on CentOS 7) is set the new drupalvm_database variable to pgsql, and reprovision or build a new instance of Drupal VM:
drupalvm_database: pgsql
Be sure to read through the 'Breaking changes' section to see which variables you should update (if you've overridden them in a config.yml or local.config.yml).
Breaking changes
(Note: If you haven't overridden any of the database-related variables, no changes are required.)
- Update the three
drupal_mysql_*variables todrupal_db_*. - Update the default
mysql_databasesandmysql_usersvariables to use the new variable names.
New/changed variables in default.config.yml
vagrant_cpusset to1instead of2(see #855)- Added two variables to control minimum required dependency versions:
drupalvm_vagrant_version_min: '1.8.5'drupalvm_ansible_version_min: '2.1'
- Added
drupalvm_databasevariable (defaults tomysql) to control database engine (see #146) - Changed
drupal_mysql_*variables todrupal_db_*for better compatibility:drupal_mysql_useris nowdrupal_db_userdrupal_mysql_passwordis nowdrupal_db_passworddrupal_mysql_nameis nowdrupal_db_name
- Updated
mysql_databasesandmysql_usersto use the new variable names listed above - Added
postgresql_databasesandpostgresql_users(same kind of structure as themysql_*variables)
Improvements
- #146: Add PostgreSQL support.
- #908: Require minimum version of Ansible 2.1.0, Vagrant 1.8.5.
- #855: Default to 1 vCPU core for better VirtualBox performance.
- Update PHP-MySQL Ansible role.
- #421, #367: Add to Behat/Selenium documentation.
Bugfixes
- Ensure Debian apt caches are updated when running tests on Travis.