Skip to content

push_to_redhat.rb pulls from CI_REGISTRY_IMAGE var

Gerard Hickey requested to merge fix/image_pull_location into master

What does this MR do?

The push_to_redhat.rb script has been updated to pull images from the CI_REGISTRY_IMAGE variable so that tagged builds running on dev.gitlab.org will find the correct images. In addition, when tagged builds occur the image tags are constructed from a number of CI variables as opposed from the commit reference when the job runs on gitlab.com (which generally is the branch name).

Related issues

gitlab-org/charts/gitlab#2587 (closed)

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

Merge request reports