Skip to content

bazzie/gitlab_ci_runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published