2020-03-13 15:44:24 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Deployments
|
2020-04-08 14:13:33 +05:30
|
|
|
class ForwardDeploymentWorker # rubocop:disable Scalability/IdempotentWorker
|
2020-03-13 15:44:24 +05:30
|
|
|
include ApplicationWorker
|
|
|
|
|
|
|
|
queue_namespace :deployment
|
|
|
|
feature_category :continuous_delivery
|
|
|
|
|
|
|
|
def perform(deployment_id)
|
|
|
|
Deployments::OlderDeploymentsDropService.new(deployment_id).execute
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|