Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

drone (37) Versions 2.0.0

Installs/Configures Drone

Berkshelf/Librarian
Policyfile
Knife
cookbook 'drone', '= 2.0.0'
cookbook 'drone', '= 2.0.0', :supermarket
knife cookbook site install drone
knife cookbook site download drone
README
Dependencies
Changelog
Quality -%

Drone cookbook

Build Status

Installs Drone, a CI server built on Docker.

Requirements

Chef

  • Chef 12+

Platforms

This cookbook is tested against:

  • Ubuntu 15.04
  • Ubuntu 15.10
  • Ubuntu 16.04

...but it might work on other platforms.

Usage

Recipes

drone::default

Installs the drone server.

Include recipe[drone::default] in your run list.

drone::reverse_proxy

Fronts drone server with a reverse_proxy using nginx for HTTPS.

Include recipe[drone::reverse_proxy] in your run list.

drone::worker

Installs the drone worker.

Include recipe[drone::worker] in your run list.

Attributes

These attributes are under the node['drone'] namespace.

Attribute Description Type Default
config Hash of configuration options Hash See Configuration section below

Configuration

The configuration in Drone 0.4.0 changed from TOML to BASH RC file.

The minimum required attribute is to set following tokens for your "remote" driver (gitlab, github, etc..)

  • node['drone']['config']['oauth_client']
  • node['drone']['config']['oauth_secret']

See the drone documentations and attributes/default.rb for more options.

Docker

See attributes/docker.rb for more options.

Drone Cookbook Changelog

v2.0.0

  • BREAKING CHANGE: Move Drone app config items to node['drone']['config']
  • Added drone::reverse_proxy recipe to be able to front Drone with HTTPS via a reverse proxy
  • Added drone::worker recipe to be able to create additional systems to run drone builds on
  • Version bump on docker community cookbook
  • Make docker_container resource sensitive to prevent displaying secrets passed through ENV to drone

v1.0.0

  • BREAKING CHANGE: Use drone containers rather then installing drone package by default
  • Add ability to deploy drone using drone docker container

v0.7.7

  • Uses docker version from attributes (default 1.8.3)
  • Specify docker tls certs or use self-generated

v0.7.0

  • Deploy Drone v0.4.0 (a dev branch)
  • Add dronerc template
  • Add docker recipe to install docker from cookbook
  • Add update recipe to update docker images
  • For integrations generates docker self-signed certs

v0.6.0

  • Docker can now be disabled (Graham Weldon)
  • Fix registration option - moving to each VCS config (Graham Weldon)
  • Extend / improve README documentation

v0.5.0

  • Configure Drone with TOML (Graham Weldon)
  • Use new Drone package URL (Ke Zhu)

v0.4.0

  • Add Apache 2.0 license
  • Fix options being passed to droned (Ross Timson)
  • Numerous development/test improvements (Ross Timson)

v0.3.1

  • Settable drone_tmp (Eric Buth)

v0.2.0

  • Add ability to specify custom drone options (Brint O'Hearn)

v0.1.0

  • Initial Drone cookbook (Justin Campbell)

No quality metric results found