hlascaux / terraform-google-gitlab-runner

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:Apache License 2.0


Languages

Language:HCL 100.0%