Skip to content

Commit

Permalink
Renamed docker-compose.yml to compose.yaml because druidfi/tools defa…
Browse files Browse the repository at this point in the history
…ults to compose.yaml now
  • Loading branch information
tuutti committed Mar 20, 2024
1 parent f038bbf commit 8ab516d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drush/Commands/UpdateDrushCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ private function updateDefaultFiles(UpdateOptions $options) : self {
'docker/openshift/crons/pubsub.sh',
'docker/openshift/preflight/preflight.php',
'docker/openshift/notify.php',
'docker-compose.yml',
'compose.yaml',
'phpunit.xml.dist',
'phpunit.platform.xml',
'tools/make/project/install.mk',
Expand Down
10 changes: 10 additions & 0 deletions src/Update/migrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,13 @@ function drupal_tools_update_5() : UpdateResult {

return new UpdateResult(['Set composer extra.patchLevel configuration.']);
}

/**
* Remove leftover docker-compose.yml file.
*/
function drupal_tools_update_6(UpdateOptions $options, FileManager $fileManager) : UpdateResult {
$fileManager->removeFiles($options, [
'docker-compose.yml',
]);
return new UpdateResult(['Attempted to remove docker-compose.yml file.']);
}

0 comments on commit 8ab516d

Please sign in to comment.