These scripts could be run with something like Jenkins CI to run Acquia Cloud CI/CD tasks for all environments.
This set of scripts is used for deployments and other automation tasks, and requires the Acquia SDK for PHP, which is installed via composer (see setup instructions below).
cd
into this directory and runcomposer install
to install required dependencies.- Make sure the environment variables
ACQUIA_CLOUD_USERNAME
andACQUIA_CLOUD_PASSWORD
are configured (for testing, please use your own credentials—the password is the 'Cloud API key' available though the Acquia Insight UI, e.g. athttps://accounts.acquia.com/account/[your-user-id]/security
). - Copy
example.config.php
toconfig.php
and set your Acquia Cloud Hosting environment-specific configuration. - Run one of the scripts, e.g.
php database-cleanup.php
to clean out all user-generated database backups in non-production environments.