Skip to content

Handles case where `ci_project_name` is `customers-gitlab-com`

Richard Chong requested to merge cd7582-determine-cdot-pipeline-label into main

What does this MR do and why?

Adds additional case in pipeline_name_label to handle case when the ci_project_name is customers-gitlab-com. This was done to make the gem compatible with the CustomersDot project. Because the pipeline_name_label relies on ci_project_name to determine which ~found:* label to use, that unfortunately does not work for CustomersDot where the E2E test failures in main pipeline should just be labeled with ~"found:``customers.stg.gitlab.com``".

Related to gitlab-org/customers-gitlab-com#7582 (closed)

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Richard Chong

Merge request reports