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

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

module Deployments
  class FinishedWorker
    include ApplicationWorker

    queue_namespace :deployment

    def perform(deployment_id)
      Deployment.find_by_id(deployment_id).try(:execute_hooks)
    end
  end
end