From 4b53efb15ac6a3771f41529660a16daa3f94630b Mon Sep 17 00:00:00 2001 From: Jon Pugh Date: Sun, 22 Sep 2024 11:52:47 -0400 Subject: [PATCH] Add default tasks and commands --- .../config/install/commands.command_type.ddev_start.yml | 6 ++++++ .../config/install/commands.command_type.git_checkout.yml | 6 ++++++ .../config/install/tasks.task_type.verify_site.yml | 5 +++++ 3 files changed, 17 insertions(+) create mode 100644 src/Drupal/Modules/site_hosting/config/install/commands.command_type.ddev_start.yml create mode 100644 src/Drupal/Modules/site_hosting/config/install/commands.command_type.git_checkout.yml create mode 100644 src/Drupal/Modules/site_hosting/config/install/tasks.task_type.verify_site.yml diff --git a/src/Drupal/Modules/site_hosting/config/install/commands.command_type.ddev_start.yml b/src/Drupal/Modules/site_hosting/config/install/commands.command_type.ddev_start.yml new file mode 100644 index 000000000..7cf8b26d8 --- /dev/null +++ b/src/Drupal/Modules/site_hosting/config/install/commands.command_type.ddev_start.yml @@ -0,0 +1,6 @@ +status: true +dependencies: { } +id: ddev_start +label: 'DDEV Start' +description: 'Run ddev start.' +command_plugin: ddev_start diff --git a/src/Drupal/Modules/site_hosting/config/install/commands.command_type.git_checkout.yml b/src/Drupal/Modules/site_hosting/config/install/commands.command_type.git_checkout.yml new file mode 100644 index 000000000..8c99965ec --- /dev/null +++ b/src/Drupal/Modules/site_hosting/config/install/commands.command_type.git_checkout.yml @@ -0,0 +1,6 @@ +status: true +dependencies: { } +id: git_checkout +label: 'Git Checkout' +description: 'Clone a git repository and checkout the desired git reference.' +command_plugin: git_checkout diff --git a/src/Drupal/Modules/site_hosting/config/install/tasks.task_type.verify_site.yml b/src/Drupal/Modules/site_hosting/config/install/tasks.task_type.verify_site.yml new file mode 100644 index 000000000..d210da546 --- /dev/null +++ b/src/Drupal/Modules/site_hosting/config/install/tasks.task_type.verify_site.yml @@ -0,0 +1,5 @@ +status: true +dependencies: { } +id: verify_site +label: 'Verify Site' +description: 'Prepare code and launch site.'