“765c467ac4315c33ecf61e5ba0fe7f82b4572351”上不存在“vendor/git@jihulab.com:gitlab-cn/gitlab.git”
Remove `has_many :sourced_pipelines` from Ci::Bridge
The `has_many :sourced_pipelines` association in Ci::Bridge is not correct because a trigger job can only have one downstream pipeline. Here we remove the relationship to enforce that a trigger/bridge job can only have one sourced_pipeline and ensure data consistency. Changelog: other
显示
- app/models/ci/bridge.rb 1 个添加, 18 个删除app/models/ci/bridge.rb
- config/feature_flags/development/ci_bridge_remove_sourced_pipelines.yml 0 个添加, 8 个删除..._flags/development/ci_bridge_remove_sourced_pipelines.yml
- spec/models/ci/bridge_spec.rb 2 个添加, 20 个删除spec/models/ci/bridge_spec.rb
- spec/services/ci/create_downstream_pipeline_service_spec.rb 0 个添加, 71 个删除spec/services/ci/create_downstream_pipeline_service_spec.rb
加载中
想要评论请 注册 或 登录