GitLab
Run AlphaBase from GitLab pipelines, issues, and merge requests.
AlphaBase can run in GitLab CI/CD to triage issues, review merge requests, and implement changes through controlled pipeline jobs.
Integration Paths
- GitLab CI component-based integration
- GitLab Duo/Agent-style mention-driven workflows
Both approaches run on your GitLab runners.
CI Component Setup (Recommended)
- Store AlphaBase auth/config secrets in GitLab CI/CD variables.
- Include an AlphaBase component in
.gitlab-ci.yml. - Pass prompt, config directory, and command inputs per job.
Example:
include: - component: $CI_SERVER_FQDN/nagyv/gitlab-alphabase/alphabase@2 inputs: config_dir: ${CI_PROJECT_DIR}/alphabase-config auth_json: $ALPHABASE_AUTH_JSON message: "Review this merge request for regression risks and summarize findings."Mention-Driven Workflow
Use a trigger phrase in issue/MR comments, for example:
@alphabase review this merge requestThe CI job executes AlphaBase with issue/MR context and can post results back to the thread.
Security Checklist
- Mark sensitive variables as masked and protected.
- Use least-privilege service accounts/tokens.
- Protect default branch and require MR approvals.
- Restrict pipeline permissions for forked contributions.
- Log and retain pipeline audit trails.
Rollout Pattern
- Read-only analysis jobs first.
- Controlled write jobs in staging.
- Production write automation after launch-gate verification.
See Launch Gates and Enterprise.