2019-02-07 21:40:55 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2022-10-28 00:11:00 +00:00
|
|
|
# DEPRECATED
|
|
|
|
#
|
|
|
|
# To be removed by https://gitlab.com/gitlab-org/gitlab/-/issues/366573
|
2020-02-19 18:09:10 +00:00
|
|
|
class ClusterUpgradeAppWorker # rubocop:disable Scalability/IdempotentWorker
|
2019-02-07 21:40:55 +00:00
|
|
|
include ApplicationWorker
|
2021-04-30 18:10:09 +00:00
|
|
|
|
2021-07-21 12:09:35 +00:00
|
|
|
data_consistency :always
|
|
|
|
|
2021-04-30 18:10:09 +00:00
|
|
|
sidekiq_options retry: 3
|
2019-02-07 21:40:55 +00:00
|
|
|
include ClusterQueue
|
|
|
|
include ClusterApplications
|
|
|
|
|
2019-10-30 15:14:17 +00:00
|
|
|
worker_has_external_dependencies!
|
2020-06-12 12:08:56 +00:00
|
|
|
loggable_arguments 0
|
2019-10-30 15:14:17 +00:00
|
|
|
|
2022-10-28 00:11:00 +00:00
|
|
|
def perform(app_name, app_id); end
|
2019-02-07 21:40:55 +00:00
|
|
|
end
|