Problem/Motivation
The fastest and most popular way to install a pre-configured Drupal setup for the test environment for now is using a Drupal installation profile, which holds all dependencies and installation actions. For this, the core/scripts/test-site.php script is used.
But now, the profiles are kinda legacy and retiring, so we should provide a way to install Drupal from the recipes instead of profiles, to finally bury the profiles.
Yes, we can still install the bare Drupal, and then apply a recipe on it by the test setup action, but this is a two-step process that is not good from a performance point of view.
Proposed resolution
A good solution for this issue will be to extend the core/scripts/test-site.php script to allow installing Drupal directly from a recipe, as a single quick action, instead of the two-step process. And, optimize the speed of this process to make it as fast as possible.
To implement this, we can add a new argument --recipe=[RECIPE] that will install Drupal using the provided recipe.
Comments