f7be904afa
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 |
||
---|---|---|
.. | ||
access_requests_spec.rb | ||
api_helpers_spec.rb | ||
award_emoji_spec.rb | ||
branches_spec.rb | ||
broadcast_messages_spec.rb | ||
builds_spec.rb | ||
commit_statuses_spec.rb | ||
commits_spec.rb | ||
deploy_keys_spec.rb | ||
deployments_spec.rb | ||
doorkeeper_access_spec.rb | ||
environments_spec.rb | ||
files_spec.rb | ||
fork_spec.rb | ||
groups_spec.rb | ||
internal_spec.rb | ||
issues_spec.rb | ||
keys_spec.rb | ||
labels_spec.rb | ||
license_templates_spec.rb | ||
lint_spec.rb | ||
members_spec.rb | ||
merge_request_diffs_spec.rb | ||
merge_requests_spec.rb | ||
milestones_spec.rb | ||
namespaces_spec.rb | ||
notes_spec.rb | ||
notification_settings_spec.rb | ||
oauth_tokens_spec.rb | ||
pipelines_spec.rb | ||
project_hooks_spec.rb | ||
project_snippets_spec.rb | ||
projects_spec.rb | ||
repositories_spec.rb | ||
runners_spec.rb | ||
services_spec.rb | ||
session_spec.rb | ||
settings_spec.rb | ||
sidekiq_metrics_spec.rb | ||
system_hooks_spec.rb | ||
tags_spec.rb | ||
templates_spec.rb | ||
todos_spec.rb | ||
triggers_spec.rb | ||
users_spec.rb | ||
variables_spec.rb |