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_token2GITLAB_PROJECT_ID=123456783GITLAB_URL=https://gitlab.com3. Enable Git Listener
.env
1GIT_LISTENER_ENABLED=true2GIT_LISTENER_POLL_INTERVAL=60000Pipeline Integration
OpenQA can trigger tests after successful GitLab CI/CD pipelines:
.gitlab-ci.yml
1stages:2 - build3 - test4 - deploy5 - qa6 7openqa:8 stage: qa9 script:10 - curl -X POST http://openqa.internal/api/brain/run11 only:12 - main13 when: on_success