CI Tools can be used for helping test code and functional behavior.
Variables can be used for accessing and setting specific pieces of data within the container. Located below are the variables that can be used for setting in the container and they will be used for helping make sure the tools run properly.
| Name | Default Value | Description |
|---|---|---|
| APACHE_DOCUMENTROOT | /var/www/docroot | Apache Document Root |
| SECRET_TERMINUS_TOKEN | (empty) | Terminus CLI (Pantheon) Token |
| SECRET_ACAPI_EMAIL | (empty) | Acquia API Email |
| SECRET_ACAPI_KEY | (empty) | Acquia API Key |
| GITHUB_USER | (empty) | Github User |
| GITHUB_PASSWORD | (empty) | Github Password |
| SECRET_PLATFORMSH_CLI_TOKEN | (empty) | Platform.sh Token |
The main overall puprose of this is to include it with CircleCI builds and help facilitate in auditing the quality of code that is released. Provided is a sample of how to include it within your CirleCI configuration. Also are samples of how to use the services for testing.
Helping out is greatly appreciated. Ways to contribute are:
The CI Tools uses BATS (Bash Automated Testing System) for running tests. Therefore, any feature that is added must contain an accompanying test.
For more information on how to use BATS see How To Use BATS To Test Your Command Line Tools, also take a moment to look at the sstephenson/bats repo as this is the main place to see how tests are written.
Content type
Image
Digest
Size
1.3 GB
Last updated
over 7 years ago
docker pull kanopi/ci:edge-lighthouse_master-254