Integrations with Gitlab CI

Integrations with Gitlab CI

This page contains the index of the steps you need to make to integrate Allure TestOps with Gitlab CI server.

Prerequisites

  1. You need to have Gitlab build server and administrator’s access to it.
    1. You need the rights to create credentials.
    2. You need the rights to install plug-ins
    3. You need the rights to configure the system.
    4. You need the rights to create and configure the build jobs.
  2. It is advised that you create dedicated user on Allure side for Gitlab CI. Do not forget to add this dedicated user to your project!
Please follow the steps described in this chapter in the order they are shown below. Do not skip any steps even if you think you know what to do.

Integration steps

Steps are present in the order you need to follow.

# step what where
00 Install or use allurectl in Gitlab CI
01 Configure authentication in Allure TestOps and in Gitlab
02 Configure build job on Gitlab side
04 Import test results by running build job in Gitlab
05 Get tests’ environment info from CI and Allure TestOps
06 Configure to run jobs from AllureTO
07 Push tests’ environments from AllureTO