mirror of
https://gitea.com/mcereda/oam.git
synced 2026-03-04 16:04:25 +00:00
fix(examples/ansible): customize a gitlab runner configuration
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user