gitlab_ci_runner

Manages install and config of the Gitlab CI runner

Bas Wildemann

bazzie

7,053 downloads

6,872 latest version

2.5 quality score

Version information

  • 0.1.1 (latest)
  • 0.1.0
released Apr 19th 2016
This version is compatible with:
  • Puppet Enterprise >= 4.0.0 < 5.0.0
  • Puppet >= 4.0.0 < 5.0.0
  • RedHat
    ,
    CentOS
    ,
    OracleLinux
    ,
    Windows

Start using this module

Documentation

bazzie/gitlab_ci_runner — version 0.1.1 Apr 19th 2016

Build Status Puppet Forge Puppet Forge Puppet Forge

gitlab_ci_runner

Manage config and installation of Gitlab CI runner

This module may be used with a simple include ::gitlab_ci_cirunner

===

Table of Contents

  1. Compatibility
  2. Parameters
  3. Examples

===

Compatibility

This module has been tested to work on the following systems with Puppet versions 4.x with Ruby versions 1.9.3, 2.0.0 and 2.1.0.

Operating systems:

  • EL 7
  • Microsoft Windows 2012(R2)

===

Dependencies

  • pupeptlabs/stdlib
  • puppetlabs/dsc

Limitations

The Linux cirunner type is limited to the following executors:

  • shell
  • docker

Parameters

manage_repo

Manages the Gitlab CI runner YUM repository

  • Default: true

install_package

Manages the Gitlab CI package installation

  • Default: true

Parameters for cirunner type

url

The Gitlab CI url

  • Default: undef

token

The Gitlab CI registration token

  • Default: undef

executor

The CI runner executor (shell (windows/linux), docker(linux only))

  • Default: 'shell'

docker_image

The docker image used by the docker executor (Linux only)

  • Default: undef

tags

The runner tags (Used to choose witch runner to use at build time)

  • Default: undef

Sample usage:

runner { 'testrunner':
  ensure       => present,
  url          => 'http://<gitlab.url>/ci',
  token        => '<TOKEN>',
  executor     => 'docker',
  docker_image => 'centos/latest',
  tags         => 'dockerrunner',
}

Disclaimer

This module is far from complete and under heavy development. Feel free to comment or contribute!