Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1016 Bytes

File metadata and controls

37 lines (27 loc) · 1016 Bytes
title Configuring Sourcebot from a file (declarative config)
sidebarTitle Declarative config

import ConfigSchema from '/snippets/schemas/v3/index.schema.mdx'

Some teams require Sourcebot to be configured via a file (where it can be stored in version control, run through CI/CD pipelines, etc.) instead of a web UI. For more information on configuring connections, see this overview.

Variable Description
CONFIG_PATH Path to declarative config.
{
    "$schema": "https://raw.githubusercontent.com/sourcebot-dev/sourcebot/refs/heads/main/schemas/v3/index.json",
    "connections": {
        "connection-1": {
            "type": "github",
            "repos": [
                "sourcebot-dev/sourcebot"
            ]
        }
    }
}

Schema reference

[schemas/v3/index.json](https://github.com/sourcebot-dev/sourcebot/blob/main/schemas/v3/index.json)