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

propagate_integration_worker.rb « workers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 15c0e761a0a97694dd402101b9a6bb11b1ce6f2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

class PropagateIntegrationWorker
  include ApplicationWorker

  feature_category :integrations
  idempotent!
  loggable_arguments 1

  def perform(integration_id, overwrite)
    Admin::PropagateIntegrationService.propagate(
      integration: Service.find(integration_id),
      overwrite: overwrite
    )
  end
end