Giter VIP home page Giter VIP logo

puppet-concourse's Introduction

Build Status

concourse

Table of Contents

  1. Description
  2. Setup - The basics of getting started with concourse
  3. Usage - Configuration options and additional functionality
  4. Limitations - OS compatibility, etc.

Description

This module installs and configures the Concourse CI server and fly CLI (https://concourse-ci.org).

Setup

What concourse affects

This module will download and install Concourse and the fly cli. It will also create Concourse work directories and optionally generate and authorize needed SSH keypairs.

WARNING: Concourse requires Linux kernel 3.19+. On Redhat 7, this module will install the ELRepo.org yum repository and upgrade the kernel to the current LTS version. A reboot will likely be necessary once this is done before Concourse beings functioning correctly.

Setup Requirements

This module will not install a database for Concourse. You should pair this module with something like puppetlabs/postgresql to install and configure the database.

You should be familiar with Concourse before configuring it via this module. There are many configuration environment variables that may be set and some are specific to the node being run (web or worker). The best documentation of these variables is via the cli:

  $ concourse --help
  $ concourse web --help
  $ concourse worker --help

Beginning with concourse

Including the class will install and configure a standalone Concourse server (web and worker) with a default "quickstart" configuration.

  include concourse

Usage

Example: Install Postgresql 9.6 (via puppetlabs/postgresql) and a standalone Concourse server, with web and a worker running on the same machine:

  class { '::postgresql::globals': version => '9.6' }

  class { '::postgresql::server': }

  postgresql::server::db { 'concourse':
    user     => 'concourse',
    password => postgresql_password('concourse', 'changeme'),
  }

  class { '::concourse':
    node_type    => 'standalone',
    version      => '4.2.1',
    environment  => {
      'CONCOURSE_EXTERNAL_URL'                 => "http://${facts['fqdn']}:8080",
      'CONCOURSE_WORK_DIR'                     => '/opt/concourse/worker',
      'CONCOURSE_SESSION_SIGNING_KEY'          => '/opt/concourse/session_signing_key',
      'CONCOURSE_TSA_HOST_KEY'                 => '/opt/concourse/tsa_host_key',
      'CONCOURSE_TSA_PUBLIC_KEY'               => '/opt/concourse/tsa_host_key.pub',
      'CONCOURSE_TSA_WORKER_PRIVATE_KEY'       => '/opt/concourse/worker_key',
      'CONCOURSE_TSA_AUTHORIZED_KEYS'          => '/opt/concourse/authorized_worker_keys',
      'CONCOURSE_POSTGRES_USER'                => 'concourse',
      'CONCOURSE_POSTGRES_PASSWORD'            => 'changeme',
      'CONCOURSE_POSTGRES_DATABASE'            => 'concourse',
      'CONCOURSE_ADD_LOCAL_USER                => 'myuser:mypass',
      'CONCOURSE_MAIN_TEAM_LOCAL_USER'         => 'myuser',
    },
    require      => Postgresql::Server::Db['concourse'],
  }

Limitations

TBD.

puppet-concourse's People

Contributors

walkamongus avatar

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.