Skip to content
This repository has been archived by the owner. It is now read-only.
/ ci-tools Public archive

CI Tools Used For Testing

Notifications You must be signed in to change notification settings

ptmkenny/ci-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kanopi CI Tools

CircleCI

CI Tools can be used for helping test code and functional behavior.

What's Installed

Services

  • Apache 2.4.x
  • PHP 7.2.x
  • MariaDB 10.x

Tools

Browsers

  • Chrome
  • Firefox

Configuration

Variables

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

Using with CircleCI

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.

Config.yml

  • TBD

Examples

  • TBD

How to Contribute

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.

Testing

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.