OpenQAOpenQA
Integrations

GitLab Integration

Connect OpenQA to GitLab for automatic testing on merge and pipeline events.

Setup

1. Create a Personal Access Token

Go to GitLab → User Settings → Access Tokens → Create new token

Required scopes: api, read_repository

2. Configure Environment

.env
1GITLAB_TOKEN=glpat-your_personal_access_token
2GITLAB_PROJECT_ID=12345678
3GITLAB_URL=https://gitlab.com

3. Enable Git Listener

.env
1GIT_LISTENER_ENABLED=true
2GIT_LISTENER_POLL_INTERVAL=60000

Pipeline Integration

OpenQA can trigger tests after successful GitLab CI/CD pipelines:

.gitlab-ci.yml
1stages:
2 - build
3 - test
4 - deploy
5 - qa
6 
7openqa:
8 stage: qa
9 script:
10 - curl -X POST http://openqa.internal/api/brain/run
11 only:
12 - main
13 when: on_success

Next Steps