fix(examples/ansible): customize a gitlab runner configuration

This commit is contained in:
Michele Cereda
2024-02-21 14:56:35 +01:00
parent 017da713aa
commit e38846a15d
4 changed files with 5 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ listen_address = "0.0.0.0:9090"
name = "gitlab-runner-1"
url = "https://example.com"
token = "x"
executor = "docker-machine"
executor = "docker+machine"
limit = 10
[runners.custom_build_dir]

View File

@@ -2,7 +2,7 @@
name = "gitlab-runner-1"
url = "https://example.com"
token = "x"
executor = "docker-machine"
executor = "docker"
[runners.custom_build_dir]
[runners.cache]
[runners.cache.s3]

View File

@@ -4,7 +4,7 @@ listen_address = "0.0.0.0:9090"
name = "gitlab-runner-1"
url = "https://example.com"
token = "x"
executor = "docker-machine"
executor = "docker+machine"
limit = 10
[runners.machine]

View File

@@ -4,7 +4,7 @@
vars:
config_base: >
{{
lookup('ansible.builtin.file', 'initial.example.toml')
lookup('ansible.builtin.file', 'initial.toml')
| sivel.toiletwater.from_toml
}}
config_overrides:
@@ -13,6 +13,7 @@
runners:
- name: gitlab-runner-1
limit: 10
executor: docker+machine
machine:
IdleCount: 1
IdleCountMin: 0