gitlab-org--gitlab-foss/app/services/ci
Kamil Trzciński 9ad0d879fb Merge branch 'feature/environment-teardown-when-branch-deleted' into 'master'
Stop environment when branch is deleted

## What does this MR do?

This MR adds a environment teardown service, that is called when user deletes a branch. This most often happens when merge requests is merged.

## Does this MR meet the acceptance criteria?

- [x] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html) added
- [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [x] API support added
- Tests
  - [x] Added for this feature/bug
  - [x] All builds are passing

## What are the relevant issue numbers?

Closes #23218

See merge request !7355
2016-11-17 10:54:57 +00:00
..
create_pipeline_builds_service.rb Pre-create all builds for Pipeline when a trigger is received 2016-08-11 15:22:35 +02:00
create_pipeline_service.rb Use state machine for pipeline event processing 2016-08-11 21:32:16 +02:00
create_trigger_request_service.rb Pre-create all builds for Pipeline when a trigger is received 2016-08-11 15:22:35 +02:00
image_for_build_service.rb Rename all ci_commit[s] in application code to pipeline[s] 2016-06-03 16:27:50 +02:00
process_pipeline_service.rb Make retry_lock to not be infinite 2016-10-27 12:34:35 +01:00
register_build_service.rb Add tests for optimistic locking 2016-10-26 11:37:23 +02:00
stop_environments_service.rb Remove unnecessary check from environments service 2016-11-16 12:39:06 +01:00