Enabling a Drupal site setup¶
You can enable a Drupal site setup in the Code Studio pipeline. If you enable it, Code Studio runs drush site:install after composer install, and you can:
- Confirm successful completion of database updates and clean import of database configuration into a new database or an existing database copied from Cloud Platform
- Run PHPUnit tests on a working site
To enable a Drupal site setup:
- Add the
ACQUIA_TASKS_SETUP_DRUPAL environment variable in Code Studio.
For information about how to add environment variables in Code Studio, see Adding environment variables.
- Set the value of the environment variable to
true.
After enabling the site setup, you can:
For information about how the setup strategy affects your Code Studio pipeline, see AutoDevOps pipeline steps.