diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-12 00:09:34 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-12 00:09:34 +0000 |
commit | 5781a4966047232d4725f9ee4769c4bd5aed9b26 (patch) | |
tree | 0ef2b81a40931ec51f8fdd5284ed9e47cf42a923 /bin | |
parent | 4d48b3cfcd74bcca0f0f305746f74cf7224dd78b (diff) | |
download | gitlab-ce-5781a4966047232d4725f9ee4769c4bd5aed9b26.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/sidekiq-cluster | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/bin/sidekiq-cluster b/bin/sidekiq-cluster new file mode 100755 index 00000000000..2204a222b88 --- /dev/null +++ b/bin/sidekiq-cluster @@ -0,0 +1,19 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +require 'optparse' +require_relative '../lib/gitlab' +require_relative '../lib/gitlab/utils' +require_relative '../lib/gitlab/sidekiq_config/cli_methods' +require_relative '../lib/gitlab/sidekiq_cluster' +require_relative '../lib/gitlab/sidekiq_cluster/cli' + +Thread.abort_on_exception = true + +cli = Gitlab::SidekiqCluster::CLI.new + +begin + cli.run +rescue Gitlab::SidekiqCluster::CLI::CommandError => error + abort error.message +end |