Read stage from ActiveRecord CI::Stage model
This commits is the first step toward dropping ci_builds.stage column. We are now adding an association to a build a reading through ci_stages to display build stage data.
显示
- app/helpers/ci/builds_helper.rb 1 个添加, 1 个删除app/helpers/ci/builds_helper.rb
- app/helpers/ci/jobs_helper.rb 1 个添加, 1 个删除app/helpers/ci/jobs_helper.rb
- app/models/ci/bridge.rb 2 个添加, 2 个删除app/models/ci/bridge.rb
- app/models/ci/build.rb 2 个添加, 2 个删除app/models/ci/build.rb
- app/models/ci/stage.rb 12 个添加, 6 个删除app/models/ci/stage.rb
- app/models/commit_status.rb 9 个添加, 0 个删除app/models/commit_status.rb
- app/services/ci/register_job_service.rb 1 个添加, 1 个删除app/services/ci/register_job_service.rb
- app/services/ci/stuck_builds/drop_helpers.rb 1 个添加, 1 个删除app/services/ci/stuck_builds/drop_helpers.rb
- app/views/notify/_failed_builds.html.haml 1 个添加, 1 个删除app/views/notify/_failed_builds.html.haml
- app/views/notify/autodevops_disabled_email.text.erb 1 个添加, 1 个删除app/views/notify/autodevops_disabled_email.text.erb
- app/views/notify/pipeline_failed_email.text.erb 1 个添加, 1 个删除app/views/notify/pipeline_failed_email.text.erb
- app/views/projects/ci/builds/_build.html.haml 1 个添加, 1 个删除app/views/projects/ci/builds/_build.html.haml
- config/feature_flags/development/ci_read_stage_records.yml 8 个添加, 0 个删除config/feature_flags/development/ci_read_stage_records.yml
- db/fixtures/development/14_pipelines.rb 2 个添加, 2 个删除db/fixtures/development/14_pipelines.rb
- lib/gitlab/ci/build/context/build.rb 12 个添加, 1 个删除lib/gitlab/ci/build/context/build.rb
- lib/gitlab/ci/variables/builder.rb 2 个添加, 2 个删除lib/gitlab/ci/variables/builder.rb
- lib/gitlab/data_builder/build.rb 1 个添加, 1 个删除lib/gitlab/data_builder/build.rb
- lib/gitlab/data_builder/pipeline.rb 3 个添加, 2 个删除lib/gitlab/data_builder/pipeline.rb
- lib/gitlab/import_export/project/import_export.yml 1 个添加, 0 个删除lib/gitlab/import_export/project/import_export.yml
- spec/features/projects/commit/mini_pipeline_graph_spec.rb 1 个添加, 1 个删除spec/features/projects/commit/mini_pipeline_graph_spec.rb
加载中
想要评论请 注册 或 登录