Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Ansible role for Concourse CI running as Docker containers with Docker-Compose

License

Notifications You must be signed in to change notification settings

dbaba/ansible-role-concourse-ci

Repository files navigation

ansible-role-concourse-ci

GitHub release master Build Status License MIT

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_DIR
  • CONCOURSE_KEYS_WEB_DIR
  • CONCOURSE_KEYS_WORKER_DIR
  • CONCOURSE_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

About

Ansible role for Concourse CI running as Docker containers with Docker-Compose

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages