fix: cleanup jobs in finalize stage don't need explicit needs
This should fix builds of tags and stable branches which don't build nightly. The stage is what defines when this runs anyway.
Merge request reports
Activity
assigned to @wdconinc
The immediate goal here is to fix https://eicweb.phy.anl.gov/containers/eic_container/-/pipelines/72542 yaml failures for tags and branches that don't build nightly. If we just remove the nightly dependency then it will run cleanup as soon as default has completed and (on master) while nightly is still running.
Edited by Wouter DeconinckInternal tag cleanup before benchmarks are complete would cause benchmarks not to find the image they are supposed to run with.
We should be able to rely on gitlab cleaning up unused images automatically, but in the past this has resulted in gitlab removing the images from its registry without removing them from the docker service and space allocation. So, experience says that unless we remove these images ourselves we end up bringing down the server exactly when we are most busy and running lots of pipelines.