Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geerlingguy/acquia-cloud-api-scripts
Acquia Cloud API scripts for CI/CD
https://github.com/geerlingguy/acquia-cloud-api-scripts
acquia acquia-cloud api ci deployment devops drupal php
Last synced: 3 months ago
JSON representation
Acquia Cloud API scripts for CI/CD
- Host: GitHub
- URL: https://github.com/geerlingguy/acquia-cloud-api-scripts
- Owner: geerlingguy
- Created: 2015-08-19T21:40:28.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-22T15:32:47.000Z (about 8 years ago)
- Last Synced: 2024-10-10T04:06:51.417Z (4 months ago)
- Topics: acquia, acquia-cloud, api, ci, deployment, devops, drupal, php
- Language: PHP
- Size: 9.77 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Acquia Cloud CI/CD Scripts
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](https://github.com/acquia/acquia-sdk-php), which is installed via composer (see setup instructions below).
## Setup
1. `cd` into this directory and run `composer install` to install required dependencies.
2. Make sure the environment variables `ACQUIA_CLOUD_USERNAME` and `ACQUIA_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. at `https://accounts.acquia.com/account/[your-user-id]/security`).
3. Copy `example.config.php` to `config.php` and set your Acquia Cloud Hosting environment-specific configuration.
4. Run one of the scripts, e.g. `php database-cleanup.php` to clean out all user-generated database backups in non-production environments.