Adding a synchronik.d/ directory for spacing out the yaml configuration

This isn't properly being loaded yet, but when the server is configured with a
directory, it should recurse through the YAML in the directory and merge it all
This commit is contained in:
R Tyler Croy 2023-03-12 17:21:47 -07:00
parent c709b8042f
commit 43d8cc19e8
4 changed files with 26 additions and 2 deletions

View File

@ -2,8 +2,6 @@
agents:
'Local':
url: 'http://localhost:9000'
'Duplicate Local':
url: 'http://localhost:9000'
projects:
'synchronik':
description: |

View File

@ -0,0 +1,4 @@
---
agents:
'Local':
url: 'http://localhost:9000'

View File

@ -0,0 +1,11 @@
---
projects:
'inline-config':
description: |
An inline configured project
filename: 'ci.synchronik.yml'
scm:
github:
owner: 'rtyler'
repo: 'synchronik'
ref: 'main'

View File

@ -0,0 +1,11 @@
---
projects:
'synchronik':
description: |
Self-hosted project
filename: 'ci.synchronik.yml'
scm:
github:
owner: 'rtyler'
repo: 'synchronik'
ref: 'main'