11 lines
217 B
Ruby
11 lines
217 B
Ruby
|
class GitlabShellOneShotWorker
|
||
|
include Sidekiq::Worker
|
||
|
include Gitlab::ShellAdapter
|
||
|
|
||
|
sidekiq_options queue: :gitlab_shell, retry: false
|
||
|
|
||
|
def perform(action, *arg)
|
||
|
gitlab_shell.send(action, *arg)
|
||
|
end
|
||
|
end
|