CI Integration
vHaaS integrates hardware assemblies into CI pipelines, so tests run against real hardware as a normal pipeline step.
- Basic CI Integration — set up your first job on the vHaaS GitLab runner.
- Advanced CI Integration — choose assemblies at run time, test on several assemblies in parallel, and book assemblies through the API.
- Self-hosted GitLab Runner — run the custom executor in your own environment.
For the variables and job environment the runner provides, see the CI reference.
How the runner works
A job tagged vHaaS is picked up by the vHaaS runner, which then:
- Books an assembly — it reads
ASSEMBLY_REF,SESSION_DURATIONandSESSION_TIMEOUTand waits until an assembly becomes available (up toSESSION_TIMEOUT). With a comma-separatedASSEMBLY_REF, the first available assembly is used. - Connects to the assembly's default GitLab-runner VM over a secured per-job tunnel, so no direct network route to the VM is required.
- Runs the job
scripton that VM, with hardware access. - Releases the assembly when the job ends — including on failure or cancellation.