This is to cater requiremenet of functional CI feature, where
we have added a ci-job. This job is not part of container index
and thus as per principal found stale job when index reader runs.
While finding stale jobs, now we are adding provision to provide
method with exception-jobs list, which will be exempted while finding
stale jobs (which eventually gets removed from OpenShift).
As we don't want ci-job to be removed from OpenShift after index-reader
(or seed-job) is run. The default value for exception_jobs parameter
is ["ci-job"].
This is to cater requiremenet of functional CI feature, where we have added a ci-job. This job is not part of container index and thus as per principal found stale job when index reader runs.
While finding stale jobs, now we are adding provision to provide method with exception-jobs list, which will be exempted while finding stale jobs (which eventually gets removed from OpenShift). As we don't want ci-job to be removed from OpenShift after index-reader (or seed-job) is run. The default value for exception_jobs parameter is ["ci-job"].