Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/concerns/ci/deployable.rb')
-rw-r--r--app/models/concerns/ci/deployable.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/models/concerns/ci/deployable.rb b/app/models/concerns/ci/deployable.rb
index 844c8a1fa7d..e8c4f10f1ca 100644
--- a/app/models/concerns/ci/deployable.rb
+++ b/app/models/concerns/ci/deployable.rb
@@ -18,14 +18,6 @@ module Ci
end
end
- after_transition any => [:failed] do |job|
- next unless job.stops_environment?
-
- job.run_after_commit do
- Environments::StopJobFailedWorker.perform_async(id)
- end
- end
-
# Synchronize Deployment Status
# Please note that the data integrity is not assured because we can't use
# a database transaction due to DB decomposition.