Skip to content

Refactor Ci::Commit and Ci::Build to have all builds for same :sha on single page

Kamil Trzcińśki requested to merge refactor-build-service into master

This makes Ci::Commit to have only :sha and simplifies routing to have only :sha in path. The :ref and :push_data is now parameter of Ci::Build.

All commit related data (git author, message and .gitlab-ci.yml) is read directly from repository.

All code related for creating builds is moved to CreateBuildsService.

Status deduction is rewritten to make if more efficient and easier to integrate with Commit Status API.

This is partially working, tests are not yet touched.

This slightly changes view of Commit: Screen_Shot_2015-10-02_at_15.21.47

@dzaporozhets What do you think?

Merge request reports