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.
See examples for more detail on how to configure this module.