
The Probo.CI Drupal plugin provides an easy way to set Drupal site configuration options in your application build and quickly integrate a Drupal website’s repository. To use the Probo.CI Drupal plugin you must declare plugin: Drupal in your .probo.yaml file. The Drupal plugin’s parameters can automate some steps specific to Drupal such as composer setup, configuration import, running database updates, rebuilding caches, or performing other build configuration steps.
The Probo.CI Drupal plugin inherits all Probo PHP/LAMP configuration options. This allows additional Probo.CI Build steps in your .probo.yaml file to layer LAMP configuration options and commands on top of the Drupal site specific configuration.
See the Probo.CI Drupal Examples and Demonstrations section below for YAML config examples specific to Drupal. We can also help you get started building your .probo.yaml file.
The Drupal plugin requires Drush - you cannot install a Drupal site without Drush included in your repository as part of your application. For Drupal 8 and higher, it must be installed as a Composer dependency of your application. See our Using Drush documentation for instructions. For Drupal 7, see Installing Drush for Drupal 7.
configSyncDirectory {string}Specify the location of the Drupal 8+ configuration synchronization directory relative to a the site’s root directory. Defaults to sites/default/files/config_HASH/sync, where HASH is a random string generated and used for the $settings['hash_salt'] value in the settings.php file.
subDirectory {string}The path to your docroot if it is a subdirectory of your git repository.
database {string}The file name of the database to import if specified. Note that this database must be added to the assets array separately.
databaseGzipped {boolean}Whether the database was sent gzipped and whether it should therefore be gunzipped before importing.
databaseBzipped {boolean}Whether the database was sent bzipped and whether it should therefore be bunzipped before importing.
settingsRequireFile {string}A file to require at the end of settings.php. This option helps you to avoid checking settings.php into your repository.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Require checked in settings steps: - name: Require Probo-specific site settings plugin: Drupal settingsRequireFile: sites/default/probo-settings.php # Use an uploaded asset assets: - probo-settings.php steps: - name: Require Probo-specific site settings plugin: Drupal settingsRequireFile: $ASSET_DIR/probo-settings.php |
settingsAppend {string}Specify a snippet, such as a variable, to append to the end of the settings.php file.
composer {boolean}If set to true, it will run the composer install command before any databases are imported, configurations synchronized or any drush commands have been run. The composer file will need to be in the root level of your git repository.
drupalVersion {integer}Specifies which version of Drupal you are using so that the appropriate commands can be run. For example, if you specify “7” the clearCaches option will run drush cc all. Drupal 8 and higher will run drush cr. Defaults to 10. Accepts the integer values 7 - 11.
databaseUpdates {boolean}Determines whether to run drush updb after the build is finished.
clearCaches {boolean}Whether to clear all caches using drush cc all after the build is finished. Pair with the drupalVersion option to ensure the proper command is run for your version of Drupal. Defaults to true.
configImport {boolean}If set to true, it will run the drush config-import command after the database is imported but before any caches are cleared. Note that this only works for Drupal 8+ and is not compatible with Drupal 7.
redis {boolean}If set to true, enables the on-board Redis server for your site with the default Redis settings for Drupal at the end of the build process. Do not combine this option with custom Redis settings added through the settingsAppend option, as it will override them. See the Drupal Redis Configuration documentation for details, including how to enable Redis with custom settings instead.
For examples of different ways you can configure Probo.CI for your Drupal application, check out our Probo Examples & Demonstration page. There you can see practical real-world examples.

When you sign up for a Probo.CI registration code, you will get a two week trial of the plan of your choosing. For more information on how to get started, click here .
LEARN MORE ABOUT PROBO.CI'S PRICING