Configuring an Instance of BuildGrid
Context
Separating out services can be done with a configuration file.
This may also be useful for configuring bots.
Task Description
-
Decide on a format -
Decide on rough layout -
Add parser to BuildGrid -
Instance generation from parsed file -
Example folder of instance generations
Example layout for a BuildGrid instance in a YAML format.
server:
tls-server-key: <path/to/key>
tls-server-cert: <path/to/cert>
tls-client-certs: <path/to/cert>
insecure-mode: false
description: |
If only you could've seen what I've seen with your eyes.
instances:
- name: main
default: true
description: |
The main server.
services:
- kind: cas
type: lru
size: 10mb
- kind: execution
action-cache:
storage:
- remote: https://orion:50001
- kind: bots-interface
- name: testing
description: |
A CAS for testing.
services:
- kind: cas
type: disk
Edited by finn