GitLab CI Pipeline Timeout

I use stand-alone GitLab CI server (community edition v8.9.5) and gitlab-ci-multi-runner 1.2.0 to create a project. One of my pipeline steps (test) takes some time, and I get the following erm:

 ERROR: Build failed: execution took longer than 3600 seconds 

Where can I put an override for this timeout? Can I apply it only to the test pipeline stage?

+14
source share
2 answers

This is installed in GitLab. See "Project Settings β†’ CI / CD Conveyors β†’ Timeout or" Project Settings β†’ Builds β†’ Timeout "in older versions.

I am afraid that it is impossible to establish it on a stage or task.

+22
source

You can set two timeouts: the project timeout and the runner timeout .

Project Timeout:

You can set a timeout for a task from Settings β†’ CI / CD β†’ General pipelines

enter image description here

Runner Standby Time:

The participant time-out can be set in the menu " Settings" β†’ " CI / CD" β†’ " Runners" , select "Runner" from the list of "Runners" activated for this project, and edit the Maximum waiting time for the task in the editing form. enter image description here

Keep in mind that these two types of timeouts can be overridden by each other. Link to documents .

0
source

All Articles