dbaba.concourse-ci
ansible-role-concourse-ci
This is an Ansible role for Concourse CI running as Docker containers with Docker-Compose. See the following links for detail.
This role offers 1 web node and 1 worker node.
Prerequisites
- Ansible ... 2.0+
- Vagrant ... 1.8+
- Ruby ... 2.0+ (tested version=2.3.1)
Dependencies
Setup
For Evaluating Concourse CI
git clone https://github.com/dbaba/ansible-role-concourse-ci.git
cd ansible-role-concourse-ci
vagrant up # roles directory is placed under `test/integration/default`
Then open your browser, go to http://localhost:8080 (user:concourse/password:ci) and you can download fly binary there.
Environment Variables
CONCOURSE_POSTGRESQL_DB_DIRCONCOURSE_KEYS_WEB_DIRCONCOURSE_KEYS_WORKER_DIRCONCOURSE_EXTERNAL_URL
For Development and running test-kitchen
mkdir ansible-roles # this empty folder is used for installing dependencies by `ansible-galaxy`
cd ansible-roles
git clone https://github.com/dbaba/ansible-role-concourse-ci.git
cd ansible-role-concourse-ci
gem install bundler
bundle install
ansible-galaxy install -r requirements.yml
Test
Syntax Test
ansible-playbook -i localhost --syntax-check test/integration/default/default.yml
Perform test with test-kitchen
kitchen test
Clear test VMs
kitchen destroy
Revision History
- 2.0.0
- Use docker image provided by concourse
- 1.0.1
- Set the valid slack notification secured key
- 1.0.0
- Initial Release
