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
Showing
app/services/after_branch_delete_service.rb
0 → 100644
app/services/ci/stop_environments_service.rb
0 → 100644
spec/services/delete_branch_service_spec.rb
0 → 100644
Please
register
or
sign in
to comment