Investigate and fix issue with missing container images in CNG mirror
In issue #2674 (closed) we worked with distribution team to figure out how to get CNG builds from every stable branch. In the end it was decided to re-use the existing CNG-mirror repo (used by review apps for gitlab-org/gitlab
) to get these images.
However, we have started seeing failed deployments in release-environments
https://gitlab.com/gitlab-com/gl-infra/release-environments/-/pipelines/1064501224
The errors are similar to
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal BackOff 3m48s (x90029 over 14d) kubelet Back-off pulling image "registry.gitlab.com/gitlab-org/build/cng/kubectl:16-2-stable-a52151ae"
It looks like the images we are building are possibly getting cleaned up by the registry cleanup policy in the CNG-mirror
repo
Edited by Graeme Gillies