Add job to release CNG images to gitlab.com registry from dev registry
Towards https://gitlab.com/charts/gitlab/issues/942
What the rake task do:
- Get list of components from pipeline in Dev registry - We can avoid this if we decide to maintain a list of components in charts, somewhere.
- Get images from Dev registry of all those components
- Tag and push to Com registry
Required env variables in https://dev.gitlab.org/gitlab/charts/gitlab
-
FETCH_DEV_ARTIFACTS_PAT
- An access token that can use API against https://dev.gitlab.org/gitlab/charts/components/images project (in .dev) (To get list of components and for docker login) -
PUSH_IMAGES_PAT
- An access token that can use API against https://gitlab.com/gitlab-org/build/CNG (for docker login) -
COM_CHARTS_TRIGGER_TOKEN
- An access token that can trigger a pipeline in https://gitlab.com/charts/charts.gitlab.io project (in .com)
Edited by Balasankar 'Balu' C