Consider using a external-ci project for the review-apps CNG images
To help cut down on the pipeline and registry pollution of the CNG repo (which currently makes it hard to find the last real build for a tag, or the nightly)
We could consider setting up a external-ci project for mirroring CNG to be used by the review apps.
Tasks:
-
Create cng-mirror
repository - https://gitlab.com/gitlab-org/build/CNG-mirror -
Set necessary env variables and add the bot user to the mirror project -
Setup push mirroring on the original repo to the mirror project -
Set release task in CNG repo to run only on original project and not on mirror - gitlab-org/build/CNG!125 (merged) -
Set review apps to trigger build in mirror repo and use images from there - https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6699 -
Create a trigger token and set it as REVIEW_APPS_BUILD_TRIGGER_TOKEN
in gitlab-ee project.
cc\ @marin
Edited by Balasankar 'Balu' C