Move CRON "dependencies check" and "superbuild cleanup" to ci jobs
Description
On otb vm, there is two cron task that are triggered weekly.
- One which cleans the oldest https://gitlab.orfeo-toolbox.org/orfeotoolbox/superbuild-artifact branches
- The other checks the dependencies updates of OTB
Theses two tasks can be converted to "scheduled pipeline" (see https://gitlab.orfeo-toolbox.org/help/ci/pipelines/schedules). The first task will be scheduled in the superbuild-artifact ci and the other in otb ci.
To write these job in existing ".gitlab-ci" files, we need to change jobs rules explained here (https://gitlab.orfeo-toolbox.org/help/ci/jobs/job_rules.md#run-jobs-for-scheduled-pipelines)
Definition of Ready
Generic:
-
If this issue is consequent, it is splitted in subtasks with priority and complexity evaluated. Theses subtasks should be linked to this issue. (To do on gitlab interface after writting this issue) -
Issue complexity evaluated -
Priority of issue evaluated -
Time during the sprint to realize issue
Specific:
Definition of Done
Generic:
-
No test regression on CI -
Code reviewed by pairs -
Code cleaned, no "debug" traces or "TODO" comment kept. -
New code documented
Specific:
-
CI still working normally -
One weekly scheduled pipeline in https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/pipeline_schedules -
One weekly scheduled pipeline in https://gitlab.orfeo-toolbox.org/orfeotoolbox/superbuild-artifact/-/pipeline_schedules -
Both secheduled pipeline should not trigger normal job, only scheduled ones
Edited by Tristan Laurent