class Gitlab::QA::Release
def qa_image
def qa_image @qa_image ||= if omnibus_mirror? omnibus_project = image.match(CUSTOM_GITLAB_IMAGE_REGEX)[:project] gitlab_project = ci_project_path ? "/#{ci_project_path}/" : "/gitlab-org/gitlab/" "#{image.gsub(omnibus_project, gitlab_project)}-qa" else "#{image}-qa" end end