blob: 4ddbcf574d5eba6057fd53229709387a9220affc (
plain)
1
2
3
4
5
6
7
8
9
10
|
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
|