Skip to content
代码片段 群组 项目
未验证 提交 79ab0774 编辑于 作者: Florian Forster's avatar Florian Forster
浏览文件

fix(service-project): Run the "Validate Runway manifest" job when the service...

fix(service-project): Run the "Validate Runway manifest" job when the service project's CI config changes.

This way the validation should run when services upgrade to a new Runway version.

See also: gitlab-org/modelops/applied-ml/code-suggestions/ai-assist!672
上级 726dd744
No related branches found
No related tags found
无相关合并请求
......@@ -38,8 +38,11 @@ stages:
- cat runway.env
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
changes:
changes: &validate_changes
- .runway/runway*.yml
- .gitlab-ci.yml
# Specific to AI Gateway
- ci/gitlab-com.yml
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
artifacts:
reports:
......@@ -52,8 +55,7 @@ stages:
stage: $[[ inputs.validate_stage ]]
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
changes:
- .runway/runway*.yml
changes: *validate_changes
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
needs:
- job: "🏗️ Construct Runway configuration"
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册