GitLab Integration

Connect Vyre IDE with GitLab. Let Vyre agents create merge requests (MRs), write code review comments, and execute automated scans on your self-hosted or SaaS GitLab repositories.

Setup Instructions

1

Link GitLab Account

Go to Settings → Integrations → GitLab and click "Connect GitLab Account."

2

Grant Permissions

Sign in to GitLab (SaaS or your self-hosted instance) and authorize the Vyre Application. Ensure permissions for api, read_repository, and write_repository are enabled.

3

Select Projects

Pick which groups and repositories Vyre should monitor. Click "Sync" to begin initial indexing.

Key Features

Webhook Events

Vyre registers webhooks on your GitLab repositories to monitor:

  • Merge Request events: Trigger scans and run automated reviews.
  • Note events: Triggers Cloud Agents when someone types @vyre-agent in MR comments.
  • Pipeline events: Notify Vyre of pipeline failures to investigate causes.

If you use a self-hosted GitLab instance, configure your server Base URL and Personal Access Token (PAT) inside the Vyre Enterprise settings page.

GitLab CI Runner Configuration

Integrate Vyre directly in .gitlab-ci.yml:

yaml
vyre-audit:
  image: vyre/cli:latest
  script:
    - vyre security scan --repo $CI_PROJECT_PATH
  rules:
    - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'