gitlab-org--gitlab-foss/lib
Rémy Coutable f7be904afa Merge branch 'fix-commit-status' into 'master'
Fix an error where we were unable to create a CommitStatus for running state

Due to severe refactoring of Pipeline we introduced regression in how CommitStatus is handled. We received an report that it's impossible to create a CommitStatus with state `running` when there were not previous status. 

The support for Commit Statuses should be simplified. Right now I'm doing minimal change to move forward and fix a bug, but I'll create a new MR that will move all logic that is now part of `lib/api/commit_statuses.rb` to separate service to simplify the implementation.

This error happens due to the fact that we introduced additional status of builds: `created`.

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/21345

See merge request !6107
2016-09-13 08:33:28 +00:00
..
api Fix an error where we were unable to create a CommitStatus for running state 2016-09-12 12:20:18 +02:00
assets
backup lib/backup: fix broken permissions when creating repo dir 2016-08-30 13:35:50 +02:00
banzai Merge branch 'js-tooltips-for-mentions' into 'master' 2016-09-01 14:36:09 +00:00
ci Merge branch 'gitlab-workhorse-safeties' into 'master' 2016-09-09 11:33:08 +00:00
container_registry
gitlab Merge branch '21569-dont-add-created-by-for-matched-users' into 'master' 2016-09-12 20:08:33 +00:00
json_web_token
omni_auth
rouge/formatters Trim extra displayed carriage returns in diffs and files with CRLFs 2016-08-01 13:24:06 +02:00
support Revert "Defend against 'Host' header injection" 2016-08-08 13:02:44 +02:00
tasks Use File::exist? instead of File::exists? 2016-08-11 13:54:45 +03:00
banzai.rb
disable_email_interceptor.rb
event_filter.rb
extracts_path.rb Restore get_id in ExtractsPath 2016-08-24 12:54:16 +02:00
file_size_validator.rb
file_streamer.rb
gitlab.rb
gt_one_coercion.rb
repository_cache.rb
static_model.rb
unfold_form.rb
uploaded_file.rb
version_check.rb