如何配置翻新以从gitlab释放切换到git标签
我的目标是在我的gitlab-ci.yml文件中更新所有内容。默认情况下,没有任何自定义配置对创建MR进行翻新MR,其中包括基于GitLab-Release的更新。
但是今天,我仅根据标签包括一些,并且没有与此标签关联的任何版本。我正在寻找一个更新的解决方案,还包括这些解决方案。
为了解释,如果我有myprojet
命名1.2.3
和TAG 1.2
和1
1
include:
# Bash template
- project: "myproject"
ref: "1.2.2"
file: "templates/gitlab-ci.yml"
翻新检测的检测是1.2.3上的新版本 - 还可以 如果我有:
include:
# Bash template
- project: "myproject"
ref: "1.1"
file: "templates/gitlab-ci.yml"
装修不检测标签<代码> 1.2 myproject
My goal is to update all includes in my gitlab-ci.yml files. By default without any custom configuration renovate create MR with an include update based on gitlab-release.
But today, I have some includes only based on tag and there isn't any release associated to this tag. I looking for a solution to update also these includes.
To explain, if I have a release for myprojet
named 1.2.3
and tag 1.2
and 1
include:
# Bash template
- project: "myproject"
ref: "1.2.2"
file: "templates/gitlab-ci.yml"
renovate detects there is a new release on 1.2.3 - It's OK
If I have :
include:
# Bash template
- project: "myproject"
ref: "1.1"
file: "templates/gitlab-ci.yml"
renovate don't detect tag named 1.2
for myproject
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试过Regex经理?
这是一个示例,请为您的需求更改:
我相信您还可以在包规则中使用MatchManagers设置启用= false = false
have you tried regex managers?
here's an example, change it for your needs:
i believe you could also set enabled=false for the actual gitlab-ci manager using matchManagers in package rules