GitLab Integration
Flagship supports GitLab (SaaS and Self-Managed) via OAuth2 integration.
Configuration
To connect GitLab, you need to register Flagship as an OAuth application in GitLab.
Create an OAuth Application in GitLab:
- Go to User Settings > Applications (or Group/Project settings).
- Name: Flagship
- Redirect URI: Copy the Redirect URI from your Flagship dashboard (Settings > Integrations > Source Control > GitLab).
- Scopes: Select
api,read_repository,write_repository(required for cleanup PRs).
Connect in Flagship:
- Enter the
Application IDandSecretgenerated by GitLab into the Flagship settings page. - Click Connect.
- Enter the
Features
Similar to the GitHub integration, connecting GitLab allows Flagship to:
- Analyze Merge Requests.
- Detect feature flags automatically.
- Post rollout plans as comments on MRs.
- Automate cleanup MRs.