diff --git a/.gitignore.artifact b/.gitignore.artifact index c0e3e7e11..24bc108b0 100644 --- a/.gitignore.artifact +++ b/.gitignore.artifact @@ -4,11 +4,12 @@ /* # Do not ignore required files. +!.env !/config/ +!/drush/ !/scripts/ !/vendor/ !composer.json -!.env # Do not ignore webroot (manage Drupal Scaffold files using the composer.json) !web diff --git a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_circleci/.gitignore.artifact b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_circleci/.gitignore.artifact index 3f8a79f0e..34d8d637e 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_circleci/.gitignore.artifact +++ b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_circleci/.gitignore.artifact @@ -4,11 +4,12 @@ /* # Do not ignore required files. +!.env !/config/ +!/drush/ !/scripts/ !/vendor/ !composer.json -!.env # Do not ignore webroot (manage Drupal Scaffold files using the composer.json) !web diff --git a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_gha/.gitignore.artifact b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_gha/.gitignore.artifact index 3f8a79f0e..34d8d637e 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_gha/.gitignore.artifact +++ b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_all_gha/.gitignore.artifact @@ -4,11 +4,12 @@ /* # Do not ignore required files. +!.env !/config/ +!/drush/ !/scripts/ !/vendor/ !composer.json -!.env # Do not ignore webroot (manage Drupal Scaffold files using the composer.json) !web diff --git a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_artifact/.gitignore.artifact b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_artifact/.gitignore.artifact index 3f8a79f0e..34d8d637e 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/deploy_types_artifact/.gitignore.artifact +++ b/.vortex/installer/tests/Fixtures/handler_process/deploy_types_artifact/.gitignore.artifact @@ -4,11 +4,12 @@ /* # Do not ignore required files. +!.env !/config/ +!/drush/ !/scripts/ !/vendor/ !composer.json -!.env # Do not ignore webroot (manage Drupal Scaffold files using the composer.json) !web diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/.gitignore.artifact b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/.gitignore.artifact index cd438b11e..c70dfe97a 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/.gitignore.artifact +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_acquia/.gitignore.artifact @@ -4,11 +4,12 @@ /* # Do not ignore required files. +!.env !/config/ +!/drush/ !/scripts/ !/vendor/ !composer.json -!.env # Do not ignore webroot (manage Drupal Scaffold files using the composer.json) !docroot diff --git a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/.gitignore.artifact b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/.gitignore.artifact index cd438b11e..c70dfe97a 100644 --- a/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/.gitignore.artifact +++ b/.vortex/installer/tests/Fixtures/handler_process/hosting_project_name___acquia/.gitignore.artifact @@ -4,11 +4,12 @@ /* # Do not ignore required files. +!.env !/config/ +!/drush/ !/scripts/ !/vendor/ !composer.json -!.env # Do not ignore webroot (manage Drupal Scaffold files using the composer.json) !docroot diff --git a/.vortex/tests/phpunit/Traits/Subtests/SubtestDeploymentTrait.php b/.vortex/tests/phpunit/Traits/Subtests/SubtestDeploymentTrait.php index 93cae5344..616f792d5 100644 --- a/.vortex/tests/phpunit/Traits/Subtests/SubtestDeploymentTrait.php +++ b/.vortex/tests/phpunit/Traits/Subtests/SubtestDeploymentTrait.php @@ -71,6 +71,7 @@ protected function assertDeploymentFilesPresent(string $dir, string $webroot = ' $this->assertFileDoesNotExist($dir . '/.gitignore.artifact', '.gitignore.artifact should not exist in deployment'); // Required directories should exist. + $this->assertDirectoryExists($dir . '/drush', 'Drush directory should exist in deployment'); $this->assertDirectoryExists($dir . '/scripts', 'Scripts directory should exist in deployment'); $this->assertDirectoryExists($dir . '/vendor', 'Vendor directory should exist in deployment');