Skip to content
代码片段 群组 项目
提交 fbb03b27 编辑于 作者: Doug Stull's avatar Doug Stull
浏览文件

Add back the group label matching yml for saas feature yml

- removed during initial deployment for backfilling, see
  https://gitlab.com/gitlab-org/gitlab/-/merge_requests/133236#note_1600494778
上级 9253f07f
No related branches found
No related tags found
无相关合并请求
...@@ -13,7 +13,11 @@ SUGGEST_COMMENT ...@@ -13,7 +13,11 @@ SUGGEST_COMMENT
def check_yaml(saas_feature) def check_yaml(saas_feature)
mr_group_label = helper.group_label mr_group_label = helper.group_label
message_for_missing_group!(saas_feature: saas_feature, mr_group_label: mr_group_label) if saas_feature.group.nil? if saas_feature.group.nil?
message_for_missing_group!(saas_feature: saas_feature, mr_group_label: mr_group_label)
else
message_for_group!(saas_feature: saas_feature, mr_group_label: mr_group_label)
end
rescue Psych::Exception rescue Psych::Exception
# YAML could not be parsed, fail the build. # YAML could not be parsed, fail the build.
fail "#{helper.html_link(saas_feature.path)} isn't valid YAML! #{SEE_DOC.capitalize}" fail "#{helper.html_link(saas_feature.path)} isn't valid YAML! #{SEE_DOC.capitalize}"
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册