abc_ci_launcher.config¶
WARNING
This documentation is almost entirely "vibe coded"; while a helpful resource for humans and agents to understand this codebase, it should not be considered a source of ground truth in the way documentation normally is, and the user is responsible for verifying that all instructions given here are safe.
abc_ci_launcher.config
¶
Configuration loading for abc-ci-launcher.
CONFIG_TEMPLATE
module-attribute
¶
CONFIG_TEMPLATE = '# abc-ci-launcher configuration\n#\n# This file contains only GitLab trigger settings and launcher defaults.\n# Do not put model provider API keys here. Provider keys belong in GitLab CI\n# variables used by the abc-ci pipeline.\n\ngitlab:\n base_url: "https://gitlab.example.org"\n project_id: "TODO"\n ref: "main"\n # Branch used when triggering with --dev. Pipelines on this branch archive to\n # ABC_RUNNER_RESULTS_DIR_DEV and publish a separate Pages site.\n dev_ref: "dev"\n trigger_token_env: "ABC_CI_TRIGGER_TOKEN"\n\ndefaults:\n agent: "opencode-default"\n timeout_seconds: null\n'
LauncherConfig
dataclass
¶
Launcher-side GitLab trigger configuration.
validate
¶
Source code in abc-ci-launcher/src/abc_ci_launcher/config.py
init_config
¶
init_config(path: Path = DEFAULT_CONFIG_PATH, force: bool = False) -> Path
Create a starter launcher config file.
Source code in abc-ci-launcher/src/abc_ci_launcher/config.py
load_config
¶
load_config(path: Path | None = None) -> LauncherConfig
Load the launcher config, creating a starter file on first use.