Forge Home

gitlab_ci_runner

Manages install and config of the Gitlab CI runner

8,033 downloads

7,777 latest version

2.5 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.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

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
  • , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'bazzie-gitlab_ci_runner', '0.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add bazzie-gitlab_ci_runner
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install bazzie-gitlab_ci_runner --version 0.1.1

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

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!