Class: ClusterUpgradeAppWorker
- Inherits:
-
Object
- Object
- ClusterUpgradeAppWorker
- Includes:
- ApplicationWorker, ClusterApplications, ClusterQueue
- Defined in:
- app/workers/cluster_upgrade_app_worker.rb
Overview
rubocop:disable Scalability/IdempotentWorker
Constant Summary
Constants included from ApplicationWorker
ApplicationWorker::LOGGING_EXTRA_KEY
Constants included from WorkerAttributes
WorkerAttributes::NAMESPACE_WEIGHTS, WorkerAttributes::VALID_RESOURCE_BOUNDARIES, WorkerAttributes::VALID_URGENCIES
Instance Method Summary collapse
Methods included from Gitlab::SidekiqVersioning::Worker
Methods included from WorkerContext
Instance Method Details
#perform(app_name, app_id) ⇒ Object
11 12 13 14 15 |
# File 'app/workers/cluster_upgrade_app_worker.rb', line 11 def perform(app_name, app_id) find_application(app_name, app_id) do |app| Clusters::Applications::UpgradeService.new(app).execute end end |