Push UBI images to RedHat registry
What does this MR do?
Add a job to the UBI pipeline in the release
stage that will push the UBI images to Red Hat for certification. The process of pulling the GitLab images, retagging them, and pushing the retagged images to Red Hat is accomplished by the build-scripts/push_to_redhat.rb
script. These changes rely on the REDHAT_SECRETS_JSON
CI variable being populated with the OSPID and push secret for each container. The format for the JSON is an array of keyed dictionaries with id
and secret
keys.
{ "kubectl": { "id": "<OSPID>", "secret": "<PULL SECRET>" }, "gitlab-shell": { ... }, ... }
Related issues
Closes https://gitlab.com/gitlab-org/gl-openshift/gitlab-operator/-/issues/50
Checklist
See Definition of done.
For anything in this list which will not be completed, please provide a reason in the MR discussion
Required
-
Merge Request Title, and Description are up to date, accurate, and descriptive -
MR targeting the appropriate branch -
MR has a green pipeline on GitLab.com
Expected (please provide an explanation if not completing)
-
Test plan indicating conditions for success has been posted and passes -
Documentation created/updated -
Integration tests added to GitLab QA -
The impact any change in container size has should be evaluated
Edited by Jason Plum