abc_ci_launcher.gitlab¶
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.gitlab
¶
GitLab trigger API client.
TriggerRequest
dataclass
¶
TriggerRequest(task: str, agent: str, task_group: str | None = None, timeout_seconds: int | None = None, run_group: str | None = None, run_label: str | None = None, key_env_names: list[str] | None = None, attempts: int = 1, nodes: int | None = None, dev: bool = False, ref: str | None = None)
Normalized request payload for a single GitLab benchmark trigger.
variables
¶
Return GitLab CI variables for this trigger request.
Source code in abc-ci-launcher/src/abc_ci_launcher/gitlab.py
GitLabTriggerClient
¶
GitLabTriggerClient(config: LauncherConfig)
Small client for the GitLab pipeline trigger endpoint.
Source code in abc-ci-launcher/src/abc_ci_launcher/gitlab.py
build_form_data
¶
build_form_data(request: TriggerRequest, dry_run: bool = False) -> dict[str, str]
Build GitLab trigger form data from a normalized request.
Source code in abc-ci-launcher/src/abc_ci_launcher/gitlab.py
trigger
¶
trigger(request: TriggerRequest, dry_run: bool = False) -> dict[str, Any]
Submit a trigger request or return the masked dry-run payload.