Skip to content

v1.5.0 — GitLab integration (sync + CI)

Choose a tag to compare

@ecamuto ecamuto released this 09 Jul 09:47
· 161 commits to main since this release
5422e20

Features

  • GitLab integration — now a first-class VCS provider alongside GitHub, for gitlab.com and self-hosted. Two surfaces:
    • Tests-as-Code sync — pull YAML test definitions from a GitLab repo.
    • Run CI — trigger a pipeline, poll to completion, and import its test_report (all jobs merged) as a ThoroTest run.
  • Provider is auto-detected from the repo host or set explicitly (config.provider); self-hosted API base is configurable.
  • UI — GitLab is a selectable, configurable provider. The VCS config form is provider-aware (self-hosted API base for GitLab vs workflow/artifact for GitHub); Run CI / Sync are provider-neutral.

Demo

  • demo/gitlab/ — one-command local GitLab CE + runner (docker compose up -d + ./setup.sh) with a two-job pipeline (green pytest + red Playwright) that exercises the full flow end-to-end against a real instance. See demo/gitlab/README.md.

Internals

  • Reuses github_sync.sync_repo via an injected GitLab fetcher, and the shared importers/persist.py path — no duplication of folder-tree/upsert logic.
  • GitLab trigger is simpler than GitHub Actions: POST /pipeline returns the id, so no "find the dispatched run" step; results come from the structured test_report endpoint.
  • Seed's GitLab row is now a real vcs_ci provider. 535 pytest + full e2e green.

Merged via #10, #11.