gitlab-org--gitlab-foss/lib/api
Kerri Miller 29f9d92642 Confirm existence of head_pipeline if pipeline success required
Pipelines are created by an async worker, so a rapid sequence of API
calls can trigger a state where the pipeline, whose existence is part of
determining if we wait for the pipeline to successfully complete before
merging, can trigger the MR to be immediately merged instead.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55127
2019-05-07 16:06:53 +00:00
..
entities
helpers Use a path for the related merge requests endpoint 2019-05-07 06:16:39 -07:00
release
validations/types Add array support for labels 2019-03-06 13:28:42 +02:00
access_requests.rb
api.rb Run rubocop -a on CE files 2019-05-05 03:24:28 -07:00
api_guard.rb
applications.rb
avatar.rb
award_emoji.rb
badges.rb
boards.rb
boards_responses.rb
branches.rb Introduce ServiceResponse to wrap around response 2019-04-22 17:16:32 +08:00
broadcast_messages.rb
circuit_breakers.rb
commit_statuses.rb
commits.rb Accept force option on commit via API 2019-03-06 10:44:59 +00:00
container_registry.rb
custom_attributes_endpoints.rb
deploy_keys.rb
deployments.rb
discussions.rb Allow replying to an individual note in the API 2019-05-06 19:48:32 +01:00
entities.rb Implement support for CI variables of type file 2019-05-06 13:11:42 +00:00
environments.rb Add new API endpoint to expose single environment 2019-04-09 09:16:57 +00:00
events.rb Add new api class for projects events 2019-04-24 17:20:11 +02:00
features.rb Allow setting feature flags per GitLab group 2019-02-19 14:57:03 +08:00
files.rb
group_boards.rb
group_labels.rb
group_milestones.rb
group_variables.rb Implement support for CI variables of type file 2019-05-06 13:11:42 +00:00
groups.rb Backport some changes from EE 2019-04-02 23:20:43 -05:00
helpers.rb Get rid of the user_namespace API helper method 2019-04-24 19:39:59 +02:00
import_github.rb Return a `401` error code 2019-04-11 06:43:09 +00:00
internal.rb Whitelist query limits for internal API 2019-05-03 04:02:15 +00:00
issues.rb Set correct timestamps when creating past issues 2019-04-16 19:57:49 +08:00
job_artifacts.rb API: delete job_artifacts of a single job 2019-03-06 11:06:21 +00:00
jobs.rb
keys.rb
labels.rb
lint.rb
markdown.rb
members.rb
merge_request_diffs.rb
merge_requests.rb Confirm existence of head_pipeline if pipeline success required 2019-05-07 16:06:53 +00:00
milestone_responses.rb Resolve "Get milestone by title via API" 2019-03-27 09:01:07 +00:00
namespaces.rb Get rid of the user_namespace API helper method 2019-04-24 19:39:59 +02:00
notes.rb Refactor API noteable types constants 2019-03-04 17:44:56 +01:00
notification_settings.rb
pages_domains.rb
pagination_params.rb
pipeline_schedules.rb Implement support for CI variables of type file 2019-05-06 13:11:42 +00:00
pipelines.rb Forbid the use of `#reload` and prefer `#reset` 2019-04-15 13:05:14 +02:00
project_clusters.rb Add gitlab-managed option to clusters form 2019-05-03 01:05:53 +00:00
project_events.rb Add new api class for projects events 2019-04-24 17:20:11 +02:00
project_export.rb
project_hooks.rb
project_import.rb
project_milestones.rb Run rubocop -a 2019-03-13 13:42:43 +00:00
project_snapshots.rb
project_snippets.rb
project_statistics.rb Add project http fetch statistics API 2019-02-27 11:52:35 +01:00
project_templates.rb Merge branch 'sh-fix-cpp-templates-404' into 'master' 2019-02-26 12:21:57 +01:00
projects.rb Forbid the use of `#reload` and prefer `#reset` 2019-04-15 13:05:14 +02:00
projects_relation_builder.rb
protected_branches.rb Backport changes to API::ProtectedBranches 2019-03-26 14:18:29 +01:00
protected_tags.rb
releases.rb Allow guests users to access project releases 2019-05-03 13:29:20 +00:00
repositories.rb Run rubocop -a 2019-03-13 13:42:43 +00:00
resource_label_events.rb Move eventable types constant to a helper 2019-03-04 17:44:56 +01:00
runner.rb Add configuration of access_level for runners on registration via API 2019-04-18 09:57:12 -04:00
runners.rb add tag_list param to runners api 2019-02-27 20:19:49 +01:00
scope.rb
search.rb Apply suggestion to lib/api/search.rb 2019-03-15 21:03:49 +01:00
services.rb Move API::Services constants to a helper 2019-03-04 17:44:57 +01:00
settings.rb Backport of 328-versioned-es-schema 2019-05-02 22:22:45 -06:00
sidekiq_metrics.rb
snippets.rb Allow all personal snippets to be accessed by API 2019-03-06 09:05:03 +00:00
submodules.rb
subscriptions.rb
suggestions.rb
system_hooks.rb
tags.rb
templates.rb
time_tracking_endpoints.rb
todos.rb Significantly reduce N+1 queries in /api/v4/todos endpoint 2019-03-06 07:03:46 -08:00
triggers.rb Update Triggers documentation per EE 2019-03-04 17:44:57 +01:00
users.rb Backport some changes from EE 2019-04-02 23:20:43 -05:00
variables.rb Implement support for CI variables of type file 2019-05-06 13:11:42 +00:00
version.rb Add metadata about the GitLab server to GraphQL 2019-03-05 15:00:32 +00:00
wikis.rb Added list_pages method to avoid loading all wiki pages content 2019-04-25 04:19:07 +00:00