gitlab-org--gitlab-foss/spec
Kamil Trzciński 3eef0e18e0 Merge branch 'refactor-build-service' into 'master'
Refactor Ci::Commit and Ci::Build to have all builds for same :sha on single page

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](https://gitlab.com/gitlab-org/gitlab-ce/uploads/ad3f1ccdcc87659ea437d8db6c5b9f94/Screen_Shot_2015-10-02_at_15.21.47.png)

@dzaporozhets What do you think?


See merge request !1502
2015-10-05 17:42:50 +00:00
..
benchmarks/models Added benchmark_subject method for benchmarks 2015-10-05 10:51:24 +02:00
controllers Merge branch 'master' into flevour/gitlab-ce-project-path-insensitive-lookup 2015-10-01 12:33:51 +02:00
factories Make rubocop happy 2015-10-05 14:39:56 +02:00
features Merge branch 'refactor-build-service' into 'master' 2015-10-05 17:42:50 +00:00
finders Add `Group#add_*` convenience methods 2015-08-07 00:20:02 -04:00
fixtures No HTML-only email please 2015-08-21 16:09:55 -07:00
helpers Update README cache key to use full project namespace 2015-10-02 13:26:42 -07:00
javascripts Add specs for syntax_highlight JS 2015-09-10 15:38:24 -04:00
lib Fix gitlab_ci_yaml_processor specs 2015-10-05 16:07:50 +02:00
mailers Merge branch 'stanhu/gitlab-ce-fix-message-id-notify' 2015-10-01 16:28:10 +02:00
models Fix GitLabCiService and remove ci_yaml_file from CI push data 2015-10-05 16:06:35 +02:00
requests Fix create_trigger_request_service_spec 2015-10-05 17:06:31 +02:00
routing Move partial to right place and fix tests. 2015-09-08 15:14:14 +01:00
services Fix create_trigger_request_service_spec 2015-10-05 17:06:31 +02:00
support Merge branch 'refactor-build-service' into 'master' 2015-10-05 17:42:50 +00:00
tasks/gitlab Fix rubocop warnings in spec/lib and spec/tasks 2015-10-03 16:02:21 -05:00
views/help Allow non-admin users to see version information 2015-09-23 17:18:15 -04:00
workers Rename reply_by_email to incoming_email to prepare for the future. 2015-09-21 10:35:37 +02:00
factories.rb Only publish ssh key-type and key 2015-08-04 14:33:18 +02:00
factories_spec.rb Remove the invalid key factories 2015-04-11 17:12:10 -04:00
rails_helper.rb Started on the actual rspec 3 upgrade 2015-06-22 12:12:49 +02:00
spec_helper.rb Merge branch 'refactor-build-service' into 'master' 2015-10-05 17:42:50 +00:00
teaspoon_env.rb teaspoon install 2015-05-28 18:22:32 -04:00