You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To address the issue of matching only pipelines of tags that match your regex without including production pipelines, you can configure your GitLab settings in Apache DevLake as follows:
Identify Deployments with Regex: Use a regex pattern that matches only the pipelines you want to consider as deployments. For example, if you want to match pipelines that run on specific tags, ensure your regex accurately reflects those tags.
Exclude Production Deployments: Use a separate regex pattern to match and exclude production deployments. If production pipelines are identified by specific job names or tags, ensure this regex matches those and excludes them from the deployment set. For instance, if production pipelines are identified by a job like 'build-image-to-prod', you can use a regex like .*-prod.* to match and exclude them.
Make sure that the regex patterns are correctly configured in the appropriate fields to ensure that only the desired pipelines are included in the deployments set [1].
antoniomuso
changed the title
[Bug][GitLab] Disable deployment extraction with production
[Bug][GitLab] Disable deployments extraction with production
Nov 25, 2024
Search before asking
What happened
I want to match only pipelines of tags that match my regex. But for some reason, this configuration match all deployments:
What do you expect to happen
I expect to have inside the deployments set only the pipelines that match the regex, but it doesn't work for some reason.
How to reproduce
Take a repository that has Gitlab deployments and configure the data scope in that way:
You will get all deployments!
Anything else
No response
Version
v1.0.2-beta4
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: