gitlab-org--gitlab-foss/app/models
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
..
ci Update the updated_at of a build while patching the trace 2016-11-15 13:54:47 +01:00
concerns Merge branch '22481-honour-issue-visibility-for-groups' into 'security' 2016-11-09 12:24:13 +01:00
cycle_analytics Fix the "Commits" section of the cycle analytics summary. 2016-09-26 18:38:40 +05:30
hooks
issue
members Remove redundant class_name and foreign_key overrides 2016-10-24 22:29:48 +02:00
merge_request
network
project_services Change the slack notification comment link. 2016-11-16 14:43:58 +03:00
protected_branch
.gitkeep
ability.rb
abuse_report.rb Add markdown cache columns to the database, but don't use them yet 2016-10-07 02:54:25 +01:00
appearance.rb Add markdown cache columns to the database, but don't use them yet 2016-10-07 02:54:25 +01:00
application_setting.rb Only turn on Sidekiq throttling if application settings exists 2016-11-12 16:00:21 -08:00
audit_event.rb
award_emoji.rb
blob.rb
board.rb Improve project_with_board factory to create the default lists 2016-09-26 14:42:38 -03:00
broadcast_message.rb Add markdown cache columns to the database, but don't use them yet 2016-10-07 02:54:25 +01:00
commit.rb Initialize @statuses in status rather than constructor 2016-11-03 23:43:17 +08:00
commit_range.rb Enable Lint/StringConversionInInterpolation cop and autocorrect offenses 2016-10-03 16:09:57 +02:00
commit_status.rb Fix optimistic locking 2016-10-26 11:37:23 +02:00
compare.rb Refactor straight compare diff code 2016-10-12 16:32:57 +03:00
cycle_analytics.rb updated var name based on feedback 2016-10-13 09:19:30 +02:00
deploy_key.rb
deploy_keys_project.rb
deployment.rb Only create refs for new deployments 2016-10-20 14:21:40 +02:00
diff_note.rb
discussion.rb
email.rb refactor(email): use setter method instead AR callbacks 2016-10-23 17:30:07 +05:00
environment.rb Add specs for environments recently updated on branch 2016-11-16 11:26:36 +01:00
event.rb Allow commit note to be visible if repo is visible 2016-11-16 15:35:15 +01:00
external_issue.rb Add the method ExternalIssue#project_id 2016-11-07 12:49:24 +01:00
forked_project_link.rb
generic_commit_status.rb
global_label.rb Add markdown cache columns to the database, but don't use them yet 2016-10-07 02:54:25 +01:00
global_milestone.rb Add markdown cache columns to the database, but don't use them yet 2016-10-07 02:54:25 +01:00
group.rb Revert "Revert "Change "Group#web_url" to return "/groups/twitter" rather than "/twitter"."" 2016-10-27 16:16:15 +03:00
group_label.rb Use label subject to calculate number of issues/mrs within the group 2016-10-31 23:27:49 -02:00
guest.rb Merge branch 'fix-unathorized-cloning' into 'security' 2016-11-09 12:27:17 +01:00
identity.rb
issue.rb Fixed issue boards when not logged in 2016-11-14 12:12:01 +00:00
issue_collection.rb Process commits in a separate worker 2016-11-07 13:11:44 +01:00
key.rb Use setter for key instead AR callback 2016-11-16 00:59:09 +05:00
label.rb Use label subject to calculate number of issues/mrs within the group 2016-10-31 23:27:49 -02:00
label_link.rb
label_priority.rb Add LabelPriority model 2016-10-19 14:58:27 -02:00
legacy_diff_note.rb
lfs_object.rb Remove unreferenced LFS objects from DB and fs 2016-10-28 19:39:20 +02:00
lfs_objects_project.rb
list.rb Fix issue board related controllers to expose label priority per project 2016-10-19 14:58:27 -02:00
member.rb Make Member#add_user set access_level for requesters 2016-10-03 11:24:16 +02:00
merge_request.rb Make commit an optional arg for environments search 2016-11-09 14:46:36 +01:00
merge_request_diff.rb Also keep commits from source_project around, feedback: 2016-10-25 00:08:30 +08:00
merge_requests_closing_issues.rb
milestone.rb Add markdown cache columns to the database, but don't use them yet 2016-10-07 02:54:25 +01:00
namespace.rb Correct namespace validation to forbid bad names #21077 2016-10-07 13:46:59 -05:00
note.rb Does not raise error when Note not found when processing NewNoteWorker 2016-11-11 22:54:11 -02:00
notification_setting.rb Revert "Split notification integration into another branch" 2016-10-17 07:24:48 +00:00
oauth_access_token.rb
personal_access_token.rb
personal_snippet.rb
project.rb Merge branch 'feature/environment-teardown-when-branch-deleted' into 'master' 2016-11-17 10:54:57 +00:00
project_feature.rb Remove unneeded nil checks 2016-11-12 11:20:06 +01:00
project_group_link.rb Merge branch 'api-fix-project-group-sharing' into 'security' 2016-10-11 20:36:26 +02:00
project_import_data.rb
project_label.rb Use label subject to calculate number of issues/mrs within the group 2016-10-31 23:27:49 -02:00
project_snippet.rb
project_team.rb Fix project member access for group links 2016-10-28 09:20:55 +01:00
project_wiki.rb Search for a filename in a project 2016-11-16 14:25:54 +02:00
protected_branch.rb
release.rb Add markdown cache columns to the database, but don't use them yet 2016-10-07 02:54:25 +01:00
repository.rb Merge branch '24496-fix-internal-api-project-lookup' into 'master' 2016-11-16 20:49:30 +00:00
security_event.rb
sent_notification.rb
service.rb Defer saving project services to the database if there are no user changes 2016-11-16 12:46:07 +01:00
snippet.rb Add markdown cache columns to the database, but don't use them yet 2016-10-07 02:54:25 +01:00
spam_log.rb
subscription.rb
todo.rb Fix and improve `Sortable.highest_label_priority` 2016-10-27 21:26:56 -03:00
tree.rb Issue #4270: Recursive option for files through API 2016-11-12 10:00:39 +01:00
trending_project.rb Precalculate trending projects 2016-10-10 12:27:08 +02:00
u2f_registration.rb
user.rb fix "Without projects" filter 2016-11-16 01:49:45 -08:00
user_agent_detail.rb
users_star_project.rb
wiki_page.rb