Coder Social home page Coder Social logo

aircover-cookbook's Introduction

aircover

Cookbook to deploy Aircover.

Supported Platforms

Tested And Validated On

  • Ubuntu 15.04

Attributes

  • ['aircover']['version'] (default: 'latest') - The version of aircover to use
  • ['aircover']['vault'] (default: 'vault_aircover') - The vault name for aircover secrets
  • ['aircover']['docker']['version'] (default: '1.9.1') - The version of Docker to install and use

Aircover Config

You can drive the configuration of aircover itself through docker ENV that can be set by adding key/value pairs to ['aircover']['config']. The default database config does this.

  • ['aircover']['config']['database_driver'] (default: 'sqlite3') - Database Driver
  • ['aircover']['config']['database_config'] (default: '/var/lib/drone/drone.sqlite') - Database Config

Recipes

aircover::default

This installs aircover fronted by http directly from the container.

Include aircover::default in your run_list.

{
  "run_list": [
    "recipe[aircover::default]"
  ]
}

aircover::reverse_proxy

This installs aircover, deploys certificates, installs NGINX and configures it to do reverse proxy to the aircover container. This allows https to aircover.

Include aircover::reverse_proxy in your run_list.

{
  "run_list": [
    "recipe[aircover::reverse_proxy]"
  ]
}

Testing

  • Linting - Rubocop and Foodcritic
  • Spec - ChefSpec
  • Integration - Test Kitchen

Testing requires ChefDK be installed using it's native gems.

gem install docker-api
foodcritic -f any -X spec .
rubocop
rspec --color --format progress

If you run into issues testing please first remove any additional gems you may have installed into your ChefDK environment. Extra gems can be found and removed at ~/.chefdk/gem.

License and Authors

Author:: Jacob McCann ([email protected])

Copyright (c) 2016 Jacob McCann, All Rights Reserved.

aircover-cookbook's People

Watchers

 avatar

aircover-cookbook's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.