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).
cdinto this directory and runcomposer installto install required dependencies.- Make sure the environment variables
ACQUIA_CLOUD_USERNAMEandACQUIA_CLOUD_PASSWORDare 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.phptoconfig.phpand set your Acquia Cloud Hosting environment-specific configuration. - Run one of the scripts, e.g.
php database-cleanup.phpto clean out all user-generated database backups in non-production environments.