diff options
author | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2020-09-15 01:57:49 +0100 |
---|---|---|
committer | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2020-09-15 01:59:50 +0100 |
commit | 0849d45a489149e98c58b77be9f2f2db456ee6bb (patch) | |
tree | b56097ae1693a152f5efda9e13a18e5b48832271 /.gitlab-ci.yml | |
parent | a42dda78aeb266f9f75a2303e6113c707f78907b (diff) | |
download | lorry-controller-0849d45a489149e98c58b77be9f2f2db456ee6bb.tar.gz |
lorry-controller-remove-old-jobs: Filter out jobs started too recently
Job IDs are assigned sequentially, and jobs cannot finish before they
start. Therefore we can iterate over jobs in order of ID and stop
when we find a job that started more recently than max-age-seconds
ago.
Related to #18.
Diffstat (limited to '.gitlab-ci.yml')
0 files changed, 0 insertions, 0 deletions