2017 © Pedro Peláez
 

drupal-drush drush-acquia-hook-invoke

Drush command designed to let you test execution of Acquia Cloud hooks on your local Drupal installation

image

davereid/drush-acquia-hook-invoke

Drush command designed to let you test execution of Acquia Cloud hooks on your local Drupal installation

  • Monday, February 19, 2018
  • by Dave Reid
  • Repository
  • 0 Watchers
  • 0 Stars
  • 6 Installations
  • 0 Dependents
  • 1 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 100 % Grown

The README.md

drush-acquia-hook-invoke

This is a Drush command designed to let you test execution of Acquia Cloud hooks on your local Drupal installation (for development or debugging, etc.)., (*1)

Requirements

  • Must be run from a Drupal installation that is inside a Git repository.
  • There must be a directory called hooks in the root Git repository.
  • Ideally you run this using a Drush alias like @sitename.local that mirrors the syntax of the Acquia site aliases.

Usage

Ideally you run this using a Drush alias like @sitename.local that mirrors the syntax of the Acquia site aliases., (*2)

$ drush @mysite.local ac-hook-invoke post-code-deploy --source-branch=master --deployed-tag=test-tag

For more help about the available options, see drush help ac-hook-invoke:, (*3)

Invoke an Acquia cloud hook on the current local environment.

Examples:
 drush @mysite.local ac-hook-invoke        Run the post-code-deploy hook scripts. 
 post-code-deploy --source-branch=master                                            
 --deployed-tag="test-tag"

Arguments:
 hook                                      The hook to invoke. For example, post-code-deploy

Options:
 --ac-env                                  The environment to which code was just deployed.                           
 --ac-site                                 The site name. This is the same as the Acquia Cloud username for the site. 
 --deployed-tag                            The code branch or tag being deployed.                                     
 --repo-type                               The version control system your site is using; "git" or "svn".             
 --repo-url                                The URL of your code repository.                                           
 --source-branch                           The code branch or tag being deployed.

The Versions

19/02 2018

dev-master

9999999-dev https://bitbucket.org/davereid/drush-acquia-hook-invoke

Drush command designed to let you test execution of Acquia Cloud hooks on your local Drupal installation

  Sources   Download

GPLv2 GPL-2.0-or-later

The Requires

 

acquia drush