CI Tools can be used for helping test code and functional behavior.
- Apache 2.4.x
- PHP 7.2.x
- MariaDB 10.x
- Ruby
- Node
- PHP_CodeSniffer
- Drush
- Drupal Console
- WP-CLI
- Terminus
- Platform.sh CLI
- Lighthouse
- Axe
- Chrome
- Firefox
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.
- TBD
- TBD
Helping out is greatly appreciated. Ways to contribute are:
- Adding in specific tools that help the overall productivity of the team.
- Updating documentation and versions of provided tools.
- Writing additional tests to help make sure the released product is stable.
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.