Skip to content

Added filtering jobs by age

What does this MR do?

This MR adding job_age configuration option that used to filter jobs by age. Jobs that are newer than this parameter wouldn't be ran on runner.

Why was this MR needed?

This MR is implementing simple job queued time based runner priority.

Are there points in the code the reviewer needs to double check?

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Added tests for this feature/bug
  • In case of conflicts with master - branch was rebased

What are the relevant issue numbers?

#4177

Also there's MR with required changes in Gitlab CE - https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/28034

Edited by Dmitry Chepurovskiy

Merge request reports