-
- Downloads
Cleanup CiCommit and CiBuild
- Remove all view related methods from Ci::Build and CommitStatus - Remove unused Ci::Commit and Ci::Build methods - Use polymorphism to render different types of CommitStatus
Showing
- app/models/ci/build.rb 2 additions, 30 deletionsapp/models/ci/build.rb
- app/models/ci/commit.rb 4 additions, 28 deletionsapp/models/ci/commit.rb
- app/models/commit_status.rb 1 addition, 17 deletionsapp/models/commit_status.rb
- app/services/ci/image_for_build_service.rb 1 addition, 1 deletionapp/services/ci/image_for_build_service.rb
- app/services/create_commit_builds_service.rb 0 additions, 1 deletionapp/services/create_commit_builds_service.rb
- app/views/admin/builds/_build.html.haml 10 additions, 11 deletionsapp/views/admin/builds/_build.html.haml
- app/views/ci/commits/_commit.html.haml 0 additions, 32 deletionsapp/views/ci/commits/_commit.html.haml
- app/views/projects/builds/index.html.haml 1 addition, 2 deletionsapp/views/projects/builds/index.html.haml
- app/views/projects/builds/show.html.haml 10 additions, 9 deletionsapp/views/projects/builds/show.html.haml
- app/views/projects/ci/builds/_build.html.haml 78 additions, 0 deletionsapp/views/projects/ci/builds/_build.html.haml
- app/views/projects/commit/_builds.html.haml 3 additions, 4 deletionsapp/views/projects/commit/_builds.html.haml
- app/views/projects/commit_statuses/_commit_status.html.haml 0 additions, 79 deletionsapp/views/projects/commit_statuses/_commit_status.html.haml
- app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml 60 additions, 0 deletions.../generic_commit_statuses/_generic_commit_status.html.haml
- doc/api/builds.md 0 additions, 7 deletionsdoc/api/builds.md
- features/steps/shared/builds.rb 1 addition, 1 deletionfeatures/steps/shared/builds.rb
- lib/api/entities.rb 0 additions, 7 deletionslib/api/entities.rb
- spec/models/build_spec.rb 2 additions, 30 deletionsspec/models/build_spec.rb
- spec/models/ci/commit_spec.rb 1 addition, 45 deletionsspec/models/ci/commit_spec.rb
Please register or sign in to comment