Disallow retry of old builds
What does this MR do?
This MR adds a soft archive functionality to builds. Archived builds cannot be played or retired.
This also introduces additional failure reason if retried job "somehow gets scheduled".
The default timeout is set for never.
What are the relevant issue numbers?
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/50939
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
Tests added for this feature/bug -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides
Edited by Kamil Trzciński