GithubHelp home page GithubHelp logo

chefaustin / buildkite-cookbook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bendrucker/buildkite-cookbook

0.0 1.0 0.0 44 KB

Chef cookbook for installing and configuring Buildkite

License: MIT License

Ruby 100.00%

buildkite-cookbook's Introduction

buildkite-cookbook Build Status

Installs and configures the buildkite agent and provides resources for creating SSH keys and hooks

Requirements

  • A Buildkite account
  • A supported operating system
    • Ubuntu
    • Windows

Recipes

buildkite::default

Installs and runs the buildkite agent as a service on your platform.

  • The recipe will attempt to load your Buildkite API key from an encrypted data bag using the path specified in node['buildkite']['token'] (credentials buildkite token by default)
  • The configuration file is built from the node['buildkite']['conf'] object
    • The meta-data key may also be an object that will be converted into a key=value string

The recipe will notify the buildkite-agent service to restart whenever your configuration file changes.

Resources

Custom resources are currently available only for Ubuntu.

buildkite_key

Creates an SSH key for use by the Buildkite agent.

buildkite_key 'id_rsa' do
  content my_private_key
end

buildkite_hook

Creates a Buildkite global hook script.

buildkite_hook 'environment' do
  code <<~EOH
    export FOO=bar
  EOH
end

License

MIT © Ben Drucker

buildkite-cookbook's People

Watchers

 avatar

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.