Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

3.3.0 "1990's Theme"

Compare
Choose a tag to compare
@geerlingguy geerlingguy released this 01 Oct 15:17
· 1018 commits to master since this release

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 to drupal_db_*.
  • Update the default mysql_databases and mysql_users variables to use the new variable names.

New/changed variables in default.config.yml

  • vagrant_cpus set to 1 instead of 2 (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_database variable (defaults to mysql) to control database engine (see #146)
  • Changed drupal_mysql_* variables to drupal_db_* for better compatibility:
    • drupal_mysql_user is now drupal_db_user
    • drupal_mysql_password is now drupal_db_password
    • drupal_mysql_name is now drupal_db_name
  • Updated mysql_databases and mysql_users to use the new variable names listed above
  • Added postgresql_databases and postgresql_users (same kind of structure as the mysql_* 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.