From a1739c1125519c92c581a78364e9b19737c74500 Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Mon, 13 Apr 2026 15:00:05 +1000 Subject: [PATCH 1/2] Added 'drush' directory to '.gitignore.artifact' and sorted entries. --- .gitignore.artifact | 3 ++- .../deploy_types_all_circleci/.gitignore.artifact | 3 ++- .../handler_process/deploy_types_all_gha/.gitignore.artifact | 3 ++- .../handler_process/deploy_types_artifact/.gitignore.artifact | 3 ++- .../handler_process/hosting_acquia/.gitignore.artifact | 3 ++- .../hosting_project_name___acquia/.gitignore.artifact | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) 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 From c881e8294326121db5e4b6793039563dedb26e68 Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Mon, 13 Apr 2026 15:49:04 +1000 Subject: [PATCH 2/2] Added assertion for 'drush' directory in artifact deployment test. --- .vortex/tests/phpunit/Traits/Subtests/SubtestDeploymentTrait.php | 1 + 1 file changed, 1 insertion(+) 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');