1
0
Fork 0

feat: enable shared runner by default

This commit is contained in:
Vojtěch Mareš 2021-11-27 13:16:13 +01:00
parent 3b41630e91
commit d78af564d6
2 changed files with 11 additions and 5 deletions

View file

@ -4,6 +4,7 @@ resource "gitlab_project" "project" {
description = var.project_desc
namespace_id = var.project_namespace_id
default_branch = var.project_default_branch
shared_runners_enabled = var.shared_runners_enabled
}
resource "gitlab_branch_protection" "default_branch_protection" {

View file

@ -28,3 +28,8 @@ variable "protection_merge_access_level" {
type = string
default = "maintainer"
}
variable "shared_runners_enabled" {
type = bool
default = true
}