Forge Home

10,451 downloads

7,776 latest version

4.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.5.6 (latest)
  • 0.5.5
  • 0.5.4
  • 0.5.3
  • 0.5.2
  • 0.5.1 (deleted)
  • 0.5.0 (deleted)
  • 0.3.1
  • 0.3.0
  • 0.2.4
  • 0.2.3
  • 0.2.2
  • 0.2.1
  • 0.2.0
  • 0.1.1
  • 0.1.0 (deleted)
released Nov 17th 2015
This version is compatible with:
  • , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'cjtoolseram-drone', '0.5.6'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add cjtoolseram-drone
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install cjtoolseram-drone --version 0.5.6

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

cjtoolseram/drone — version 0.5.6 Nov 17th 2015

drone

Table of Contents

  1. Overview
  2. Module Description
  3. Install
  4. Usage
  5. Attributes
  6. Reference
  7. Limitations
  8. Milestones

Overview

A Drone CI management module

Module Description

This module to allow you to install and configure the drone CI. This module uses SQLite3 as it default database and this is a docker container app.

Install

puppet module install cjtoolseram-drone

You will also need to include docker for the managed nodes.

Usage

Quick and easy start with a wrapper module!

# dronewrapper example init.pp
class dronewrapper {
  class { 'drone':
    image_tag     => '0.4',
    remote_driver => 'bitbucket',
    client_id     => 'keykeykeykeykeykey',
    client_secret => 'secretsecretsecretsecretsecret',
  }
}

remote_driver, client_id and client_secret is needed to connect to remote repository.

You can access Drone by http://your-ip-address

Attributes

Attributes for drone class and its default value.

  • image_tag = 'latest'
  • expose_port = '80'
  • remote_driver = undef
  • client_id = undef
  • client_secret = undef

Reference

Limitations

Only run on any OS that are able to run Docker Engine. This module only runs on SQLite3.

Milestones

  • Adding MySQL docker image as part of the drone ecosystem.
  • Investigate to expand to other DB such as CouchDB

Please help and open issues if there is any bugs.