Skip to content

Terraform module for provisioning a GitLab CI Runner in a GCP project using the docker+machine executor.

License

Notifications You must be signed in to change notification settings

Cartman-Digital/terraform-google-gitlab-runner

 
 

Repository files navigation

GCP GitLab Runner

A Terraform module for configuring a GCP-based GitLab CI Runner.

This runner is configured to use the docker+machine executor which allows the infrastructure to be scaled up and down as demand requires. The minimum cost (during zero activity) is the cost of an f1-micro instance.

The long-running runner instance runs under a gitlab-ci-runner service account. This account will be granted all required permissions to spawn worker instances on demand.

The worker instances run under a gitlab-ci-worker service account. This account will need to be granted any privileges required to perform build and deploy activities.

Usage

See examples for more detail on how to configure this module.

About

Terraform module for provisioning a GitLab CI Runner in a GCP project using the docker+machine executor.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 100.0%