Commit abe0b763 authored by Sean McGivern's avatar Sean McGivern

Add exclude_from_kubernetes tag to workers we run on VMs

Most of these workers probably would be fine to run on K8s; this is just
to make the current state (as encoded in our Sidekiq configuration for
GitLab.com) explicit.
parent 4a61262a
This diff is collapsed.
......@@ -8,6 +8,7 @@ module Analytics
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :devops_reports
tags :exclude_from_kubernetes
urgency :low
idempotent!
......
......@@ -8,6 +8,7 @@ module Analytics
feature_category :devops_reports
urgency :low
tags :exclude_from_kubernetes
idempotent!
......
......@@ -10,6 +10,7 @@ module Analytics
DEFAULT_DELAY = 3.minutes.freeze
feature_category :devops_reports
tags :exclude_from_kubernetes
urgency :low
idempotent!
......
......@@ -8,6 +8,7 @@ module Analytics
feature_category :devops_reports
urgency :low
tags :exclude_from_kubernetes
idempotent!
......
......@@ -6,6 +6,7 @@ class ApproveBlockedPendingApprovalUsersWorker
idempotent!
feature_category :users
tags :exclude_from_kubernetes
def perform(current_user_id)
current_user = User.find(current_user_id)
......
......@@ -4,6 +4,7 @@ class BulkImportWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
feature_category :importers
tags :exclude_from_kubernetes
sidekiq_options retry: false, dead: false
......
......@@ -5,6 +5,7 @@ module BulkImports
include ApplicationWorker
feature_category :importers
tags :exclude_from_kubernetes
sidekiq_options retry: false, dead: false
......
......@@ -5,6 +5,7 @@ module BulkImports
include ApplicationWorker
feature_category :importers
tags :exclude_from_kubernetes
sidekiq_options retry: false, dead: false
......
......@@ -6,6 +6,7 @@ module Ci
include LimitedCapacity::Worker
feature_category :continuous_integration
tags :exclude_from_kubernetes
idempotent!
def perform_work(*args)
......
......@@ -5,6 +5,8 @@ module Ci
include ApplicationWorker
include PipelineQueue
tags :exclude_from_kubernetes
idempotent!
def perform(pipeline_id, failure_reason)
......
......@@ -6,6 +6,7 @@ module Ci
include PipelineQueue
urgency :low
tags :exclude_from_kubernetes
idempotent!
def perform(job_id)
......
......@@ -7,6 +7,7 @@ module Ci
include PipelineBackgroundQueue
feature_category :code_testing
tags :exclude_from_kubernetes
idempotent!
......
......@@ -7,6 +7,7 @@ module Ci
queue_namespace :pipeline_background
feature_category :code_testing
tags :exclude_from_kubernetes
idempotent!
......
......@@ -12,6 +12,7 @@ module Ci
deduplicate :until_executed, including_scheduled: true
idempotent!
feature_category :continuous_integration
tags :exclude_from_kubernetes
def perform
service = ::Ci::PipelineArtifacts::DestroyAllExpiredService.new
......
......@@ -9,6 +9,7 @@ module Ci
# rubocop:enable Scalability/CronWorkerContext
feature_category :continuous_integration
tags :exclude_from_kubernetes
idempotent!
def perform(*args)
......
......@@ -5,6 +5,8 @@ module Ci
include ApplicationWorker
include PipelineBackgroundQueue
tags :exclude_from_kubernetes
idempotent!
def perform(pipeline_id)
......
......@@ -8,6 +8,7 @@ module ContainerExpirationPolicies
queue_namespace :container_repository
feature_category :container_registry
tags :exclude_from_kubernetes
urgency :low
worker_resource_boundary :unknown
idempotent!
......
......@@ -6,6 +6,7 @@ module Database
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :database
tags :exclude_from_kubernetes
idempotent!
LEASE_TIMEOUT_MULTIPLIER = 3
......
......@@ -6,6 +6,7 @@ module Deployments
queue_namespace :deployment
feature_category :continuous_delivery
tags :exclude_from_kubernetes
def perform(deployment_id)
Deployments::OlderDeploymentsDropService.new(deployment_id).execute
......
......@@ -5,6 +5,7 @@ module DesignManagement
include ApplicationWorker
feature_category :design_management
tags :exclude_from_kubernetes
idempotent!
urgency :low
......
......@@ -8,6 +8,7 @@ class DestroyPagesDeploymentsWorker
loggable_arguments 0, 1
sidekiq_options retry: 3
feature_category :pages
tags :exclude_from_kubernetes
def perform(project_id, last_deployment_id = nil)
project = Project.find_by_id(project_id)
......
......@@ -5,6 +5,7 @@ class DisallowTwoFactorForGroupWorker
include ExceptionBacktrace
feature_category :subgroups
tags :exclude_from_kubernetes
idempotent!
def perform(group_id)
......
......@@ -7,6 +7,7 @@ class DisallowTwoFactorForSubgroupsWorker
INTERVAL = 2.seconds.to_i
feature_category :subgroups
tags :exclude_from_kubernetes
idempotent!
def perform(group_id)
......
......@@ -9,6 +9,7 @@ module Environments
idempotent!
worker_has_external_dependencies!
feature_category :continuous_delivery
tags :exclude_from_kubernetes
def perform(environment_id, params)
Environment.find_by_id(environment_id).try do |environment|
......
......@@ -5,6 +5,7 @@ module Experiments
include ApplicationWorker
feature_category :users
tags :exclude_from_kubernetes
urgency :low
idempotent!
......
......@@ -9,6 +9,7 @@ class FlushCounterIncrementsWorker
include ApplicationWorker
feature_category_not_owned!
tags :exclude_from_kubernetes
urgency :low
deduplicate :until_executing, including_scheduled: true
......
......@@ -5,6 +5,8 @@ module Gitlab
class ImportPullRequestMergedByWorker # rubocop:disable Scalability/IdempotentWorker
include ObjectImporter
tags :exclude_from_kubernetes
def representation_class
Gitlab::GithubImport::Representation::PullRequest
end
......
......@@ -5,6 +5,8 @@ module Gitlab
class ImportPullRequestReviewWorker # rubocop:disable Scalability/IdempotentWorker
include ObjectImporter
tags :exclude_from_kubernetes
def representation_class
Gitlab::GithubImport::Representation::PullRequestReview
end
......
......@@ -8,6 +8,8 @@ module Gitlab
include GithubImport::Queue
include StageMethods
tags :exclude_from_kubernetes
# client - An instance of Gitlab::GithubImport::Client.
# project - An instance of Project.
def import(client, project)
......
......@@ -8,6 +8,8 @@ module Gitlab
include GithubImport::Queue
include StageMethods
tags :exclude_from_kubernetes
# client - An instance of Gitlab::GithubImport::Client.
# project - An instance of Project.
def import(client, project)
......
......@@ -10,6 +10,7 @@ class GitlabPerformanceBarStatsWorker
STATS_KEY_EXPIRE = 30.minutes.to_i
feature_category :metrics
tags :exclude_from_kubernetes
idempotent!
def perform(lease_uuid)
......
......@@ -5,7 +5,7 @@ class GroupDestroyWorker # rubocop:disable Scalability/IdempotentWorker
include ExceptionBacktrace
feature_category :subgroups
tags :requires_disk_io
tags :requires_disk_io, :exclude_from_kubernetes
def perform(group_id, user_id)
begin
......
......@@ -6,6 +6,7 @@ module IncidentManagement
queue_namespace :incident_management
feature_category :incident_management
tags :exclude_from_kubernetes
def perform(incident_id, user_id)
return if incident_id.blank? || user_id.blank?
......
......@@ -6,6 +6,7 @@ class IssueRebalancingWorker
idempotent!
urgency :low
feature_category :issue_tracking
tags :exclude_from_kubernetes
def perform(ignore = nil, project_id = nil)
return if project_id.nil?
......
......@@ -9,6 +9,7 @@ module JiraConnect
queue_namespace :jira_connect
feature_category :integrations
tags :exclude_from_kubernetes
def perform(pipeline_id, sequence_id)
pipeline = Ci::Pipeline.find_by_id(pipeline_id)
......
......@@ -9,6 +9,7 @@ module JiraConnect
queue_namespace :jira_connect
feature_category :integrations
tags :exclude_from_kubernetes
def perform(deployment_id, sequence_id)
deployment = Deployment.find_by_id(deployment_id)
......
......@@ -9,6 +9,7 @@ module JiraConnect
queue_namespace :jira_connect
feature_category :integrations
tags :exclude_from_kubernetes
def perform(feature_flag_id, sequence_id)
feature_flag = ::Operations::FeatureFlag.find_by_id(feature_flag_id)
......
......@@ -6,6 +6,7 @@ module JiraConnect
queue_namespace :jira_connect
feature_category :integrations
tags :exclude_from_kubernetes
idempotent!
worker_has_external_dependencies!
......
......@@ -5,6 +5,7 @@ class MemberInvitationReminderEmailsWorker # rubocop:disable Scalability/Idempot
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :subgroups
tags :exclude_from_kubernetes
urgency :low
def perform
......
......@@ -4,6 +4,7 @@ class MergeRequestCleanupRefsWorker
include ApplicationWorker
feature_category :code_review
tags :exclude_from_kubernetes
idempotent!
def perform(merge_request_id)
......
......@@ -6,6 +6,7 @@ module Metrics
include ApplicationWorker
feature_category :metrics
tags :exclude_from_kubernetes
idempotent!
......
......@@ -6,6 +6,7 @@ module Namespaces
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :subgroups
tags :exclude_from_kubernetes
urgency :low
def perform
......
......@@ -5,6 +5,7 @@ module Namespaces
include ApplicationWorker
feature_category :issue_tracking
tags :exclude_from_kubernetes
urgency :low
deduplicate :until_executing
......
......@@ -5,6 +5,7 @@ module Namespaces
include ApplicationWorker
feature_category :subgroups
tags :exclude_from_kubernetes
urgency :low
deduplicate :until_executing
......
......@@ -5,6 +5,7 @@ module Namespaces
include ApplicationWorker
feature_category :product_analytics
tags :exclude_from_kubernetes
urgency :low
deduplicate :until_executed
......
......@@ -5,6 +5,7 @@ module Namespaces
include ApplicationWorker
feature_category :users
tags :exclude_from_kubernetes
urgency :low
idempotent!
......
......@@ -7,6 +7,7 @@ module Packages
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :package_registry
tags :exclude_from_kubernetes
idempotent!
......
......@@ -6,6 +6,7 @@ module Packages
include ApplicationWorker
feature_category :package_registry
tags :exclude_from_kubernetes
idempotent!
......
......@@ -11,6 +11,7 @@ module Packages
queue_namespace :package_repositories
feature_category :package_registry
tags :exclude_from_kubernetes
def perform(package_file_id, user_id)
@package_file_id = package_file_id
......
......@@ -8,6 +8,7 @@ module Packages
queue_namespace :package_repositories
feature_category :package_registry
tags :exclude_from_kubernetes
deduplicate :until_executing
idempotent!
......
......@@ -9,6 +9,7 @@ module Packages
queue_namespace :package_repositories
feature_category :package_registry
tags :exclude_from_kubernetes
deduplicate :until_executing
idempotent!
......
......@@ -7,6 +7,7 @@ module Packages
queue_namespace :package_repositories
feature_category :package_registry
tags :exclude_from_kubernetes
deduplicate :until_executing
idempotent!
......
......@@ -4,7 +4,7 @@ class PagesDomainSslRenewalWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
feature_category :pages
tags :requires_disk_io
tags :requires_disk_io, :exclude_from_kubernetes
def perform(domain_id)
domain = PagesDomain.find_by_id(domain_id)
......
......@@ -4,7 +4,7 @@ class PagesDomainVerificationWorker # rubocop:disable Scalability/IdempotentWork
include ApplicationWorker
feature_category :pages
tags :requires_disk_io
tags :requires_disk_io, :exclude_from_kubernetes
# rubocop: disable CodeReuse/ActiveRecord
def perform(domain_id)
......
......@@ -6,6 +6,7 @@ class PagesRemoveWorker # rubocop:disable Scalability/IdempotentWorker
sidekiq_options retry: 3
feature_category :pages
tags :exclude_from_kubernetes
loggable_arguments 0
def perform(project_id)
......
......@@ -6,6 +6,7 @@ class PagesTransferWorker # rubocop:disable Scalability/IdempotentWorker
TransferFailedError = Class.new(StandardError)
feature_category :pages
tags :exclude_from_kubernetes
loggable_arguments 0, 1
def perform(method, args)
......
......@@ -5,6 +5,7 @@ class PagesUpdateConfigurationWorker
idempotent!
feature_category :pages
tags :exclude_from_kubernetes
def self.perform_async(*args)
return unless ::Settings.pages.local_store.enabled
......
......@@ -6,7 +6,7 @@ class PagesWorker # rubocop:disable Scalability/IdempotentWorker
sidekiq_options retry: 3
feature_category :pages
loggable_arguments 0, 1
tags :requires_disk_io
tags :requires_disk_io, :exclude_from_kubernetes
def perform(action, *arg)
send(action, *arg) # rubocop:disable GitlabSecurity/PublicSend
......
......@@ -6,6 +6,7 @@ module PersonalAccessTokens
include CronjobQueue
feature_category :authentication_and_authorization
tags :exclude_from_kubernetes
def perform(*args)
notification_service = NotificationService.new
......
......@@ -5,7 +5,7 @@ class ProjectDestroyWorker # rubocop:disable Scalability/IdempotentWorker
include ExceptionBacktrace
feature_category :source_code_management
tags :requires_disk_io
tags :requires_disk_io, :exclude_from_kubernetes
def perform(project_id, user_id, params)
project = Project.find(project_id)
......
......@@ -5,6 +5,8 @@ module Projects
extend ::Gitlab::Utils::Override
include GitGarbageCollectMethods
tags :exclude_from_kubernetes
private
override :find_resource
......
......@@ -5,6 +5,7 @@ module Projects
include ApplicationWorker
feature_category :source_code_management
tags :exclude_from_kubernetes
idempotent!
def perform(project_id)
......
......@@ -4,6 +4,7 @@ class PropagateIntegrationGroupWorker
include ApplicationWorker
feature_category :integrations
tags :exclude_from_kubernetes
idempotent!
# rubocop: disable CodeReuse/ActiveRecord
......
......@@ -4,6 +4,7 @@ class PropagateIntegrationInheritDescendantWorker
include ApplicationWorker
feature_category :integrations
tags :exclude_from_kubernetes
idempotent!
# rubocop: disable CodeReuse/ActiveRecord
......
......@@ -4,6 +4,7 @@ class PropagateIntegrationInheritWorker
include ApplicationWorker
feature_category :integrations
tags :exclude_from_kubernetes
idempotent!
# rubocop: disable CodeReuse/ActiveRecord
......
......@@ -4,6 +4,7 @@ class PropagateIntegrationProjectWorker
include ApplicationWorker
feature_category :integrations
tags :exclude_from_kubernetes
idempotent!
# rubocop: disable CodeReuse/ActiveRecord
......
......@@ -5,6 +5,7 @@ module Releases
include ApplicationWorker
feature_category :release_evidence
tags :exclude_from_kubernetes
# pipeline_id is optional for backward compatibility with existing jobs
# caller should always try to provide the pipeline and pass nil only
......
......@@ -6,6 +6,7 @@ module Releases
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :release_evidence
tags :exclude_from_kubernetes
def perform
releases = Release.without_evidence.released_within_2hrs
......
......@@ -5,6 +5,7 @@ class RemoveUnacceptedMemberInvitesWorker # rubocop:disable Scalability/Idempote
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :authentication_and_authorization
tags :exclude_from_kubernetes
urgency :low
idempotent!
......
......@@ -5,6 +5,7 @@ class ScheduleMergeRequestCleanupRefsWorker
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :code_review
tags :exclude_from_kubernetes
idempotent!
# Based on existing data, MergeRequestCleanupRefsWorker can run 3 jobs per
......
......@@ -6,6 +6,7 @@ module SshKeys
include CronjobQueue
feature_category :compliance_management
tags :exclude_from_kubernetes
idempotent!
def perform
......
......@@ -6,6 +6,7 @@ module SshKeys
include CronjobQueue
feature_category :compliance_management
tags :exclude_from_kubernetes
idempotent!
def perform
......
......@@ -5,6 +5,8 @@ module TodosDestroyer
include ApplicationWorker
include TodosDestroyerQueue
tags :exclude_from_kubernetes
idempotent!
def perform(target_id, target_type)
......
......@@ -9,6 +9,7 @@ module UserStatusCleanup
# rubocop:enable Scalability/CronWorkerContext
feature_category :users
tags :exclude_from_kubernetes
idempotent!
......
......@@ -6,6 +6,7 @@ module Users
include CronjobQueue
feature_category :utilization
tags :exclude_from_kubernetes
NUMBER_OF_BATCHES = 50
BATCH_SIZE = 200
......
......@@ -5,6 +5,7 @@ module Users
include ApplicationWorker
feature_category :users
tags :exclude_from_kubernetes
idempotent!
def perform(target_user_ids)
......
......@@ -5,6 +5,7 @@ module WebHooks
include ApplicationWorker
feature_category :integrations
tags :exclude_from_kubernetes
urgency :low
idempotent!
......
......@@ -5,6 +5,8 @@ module Wikis
extend ::Gitlab::Utils::Override
include GitGarbageCollectMethods
tags :exclude_from_kubernetes
private
override :find_resource
......
......@@ -8,6 +8,7 @@ class ActiveUserCountThresholdWorker # rubocop:disable Scalability/IdempotentWor
# rubocop:enable Scalability/CronWorkerContext
feature_category :license
tags :exclude_from_kubernetes
def perform
License.with_valid_license do |license|
......
......@@ -18,7 +18,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: cronjob:adjourned_group_deletion
:feature_category: :authentication_and_authorization
:has_external_dependencies:
......@@ -42,7 +43,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: cronjob:clear_shared_runners_minutes
:feature_category: :continuous_integration
:has_external_dependencies:
......@@ -90,7 +92,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: cronjob:geo_container_repository_sync_dispatch
:feature_category: :geo_replication
:has_external_dependencies:
......@@ -202,7 +205,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: cronjob:geo_sidekiq_cron_config
:feature_category: :geo_replication
:has_external_dependencies:
......@@ -218,7 +222,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: cronjob:geo_verification_cron
:feature_category: :geo_replication
:has_external_dependencies:
......@@ -226,7 +231,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: cronjob:historical_data
:feature_category: :utilization
:has_external_dependencies:
......@@ -250,7 +256,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: cronjob:incident_management_oncall_rotations_persist_all_rotations_shifts_job
:feature_category: :incident_management
:has_external_dependencies:
......@@ -258,7 +265,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: cronjob:ingress_modsecurity_counter_metrics
:feature_category: :web_firewall
:has_external_dependencies: true
......@@ -338,7 +346,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: cronjob:vulnerabilities_statistics_schedule
:feature_category: :vulnerability_management
:has_external_dependencies:
......@@ -354,7 +363,8 @@
:resource_boundary: :unknown
:weight: 3
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: dora_metrics:dora_daily_metrics_refresh
:feature_category: :continuous_delivery
:has_external_dependencies:
......@@ -362,7 +372,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: epics:epics_update_epics_dates
:feature_category: :epics
:has_external_dependencies:
......@@ -418,7 +429,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: geo:geo_event
:feature_category: :geo_replication
:has_external_dependencies:
......@@ -546,7 +558,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: geo:geo_scheduler_primary_scheduler
:feature_category: :geo_replication
:has_external_dependencies:
......@@ -578,7 +591,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: geo:geo_verification_batch
:feature_category: :geo_replication
:has_external_dependencies:
......@@ -586,7 +600,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: geo:geo_verification_timeout
:feature_category: :geo_replication
:has_external_dependencies:
......@@ -594,7 +609,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: personal_access_tokens:personal_access_tokens_groups_policy
:feature_category: :authentication_and_authorization
:has_external_dependencies:
......@@ -634,7 +650,8 @@
:resource_boundary: :unknown
:weight: 2
:idempotent:
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: security_scans:store_security_reports
:feature_category: :static_application_security_testing
:has_external_dependencies:
......@@ -666,7 +683,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: adjourned_project_deletion
:feature_category: :authentication_and_authorization
:has_external_dependencies:
......@@ -698,7 +716,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: approval_rules_external_approval_rule_payload
:feature_category: :source_code_management
:has_external_dependencies:
......@@ -706,7 +725,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: ci_batch_reset_minutes
:feature_category: :continuous_integration
:has_external_dependencies:
......@@ -730,7 +750,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: elastic_association_indexer
:feature_category: :global_search
:has_external_dependencies:
......@@ -738,7 +759,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: elastic_commit_indexer
:feature_category: :global_search
:has_external_dependencies:
......@@ -802,7 +824,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: group_wikis_git_garbage_collect
:feature_category: :gitaly
:has_external_dependencies:
......@@ -810,7 +833,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: groups_schedule_bulk_repository_shard_moves
:feature_category: :gitaly
:has_external_dependencies:
......@@ -834,7 +858,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: incident_management_apply_incident_sla_exceeded_label
:feature_category: :incident_management
:has_external_dependencies:
......@@ -842,7 +867,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: incident_management_oncall_rotations_persist_shifts_job
:feature_category: :incident_management
:has_external_dependencies:
......@@ -850,7 +876,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: ldap_group_sync
:feature_category: :authentication_and_authorization
:has_external_dependencies: true
......@@ -898,7 +925,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: refresh_license_compliance_checks
:feature_category: :license_compliance
:has_external_dependencies:
......@@ -930,7 +958,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: requirements_management_process_requirements_reports
:feature_category: :requirements_management
:has_external_dependencies:
......@@ -946,7 +975,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: set_user_status_based_on_user_cap_setting
:feature_category: :users
:has_external_dependencies:
......@@ -954,7 +984,8 @@
:resource_boundary: :unknown
:weight: 1
:idempotent: true
:tags: []
:tags:
- :exclude_from_kubernetes
- :name: status_page_publish
:feature_category: :incident_management
:has_external_dependencies: true
......
......@@ -9,6 +9,7 @@ module Analytics
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :devops_reports
tags :exclude_from_kubernetes
idempotent!
WORKERS_GAP = 5.seconds
......
......@@ -9,6 +9,7 @@ module Analytics
feature_category :devops_reports
idempotent!
tags :exclude_from_kubernetes
# range_end was deprecated and must be removed in 14.0
#
......
......@@ -6,6 +6,7 @@ module ApprovalRules
idempotent!
feature_category :source_code_management
tags :exclude_from_kubernetes
def perform(rule_id, data)
rule = ApprovalRules::ExternalApprovalRule.find(rule_id)
......
......@@ -10,6 +10,7 @@ class DastSiteValidationWorker
sidekiq_retry_in { 25 }
feature_category :dynamic_application_security_testing
tags :exclude_from_kubernetes
sidekiq_retries_exhausted do |job|
dast_site_validation = DastSiteValidation.find(job['args'][0])
......
......@@ -6,6 +6,7 @@ module Deployments
idempotent!
feature_category :continuous_delivery
tags :exclude_from_kubernetes
queue_namespace :deployment
def perform(environment_id)
......
......@@ -9,6 +9,7 @@ module Dora
idempotent!
queue_namespace :dora_metrics
feature_category :continuous_delivery
tags :exclude_from_kubernetes
def perform(environment_id, date)
Environment.find_by_id(environment_id).try do |environment|
......
......@@ -4,6 +4,7 @@ class ElasticAssociationIndexerWorker # rubocop:disable Scalability/IdempotentWo
include ApplicationWorker
feature_category :global_search
tags :exclude_from_kubernetes
loggable_arguments 0, 2
def perform(class_name, id, indexed_associations)
......
......@@ -6,6 +6,7 @@ class ElasticRemoveExpiredNamespaceSubscriptionsFromIndexCronWorker
include CronjobQueue
feature_category :global_search
tags :exclude_from_kubernetes
idempotent!
def perform
......
......@@ -8,6 +8,7 @@ module Geo
idempotent!
tags :exclude_from_kubernetes
loggable_arguments 0
def perform(replicable_name, replicable_id)
......
......@@ -13,6 +13,7 @@ module Geo
MAX_RUNNING_JOBS = 1
idempotent!
tags :exclude_from_kubernetes
loggable_arguments 0
def perform_work(replicable_name)
......
......@@ -10,6 +10,7 @@ module Geo
include ExclusiveLeaseGuard
feature_category :geo_replication
tags :exclude_from_kubernetes
def perform
return unless Gitlab::Geo.secondary?
......
......@@ -12,6 +12,7 @@ module Geo
idempotent!
sidekiq_options retry: false, dead: false
feature_category :geo_replication
tags :exclude_from_kubernetes
def perform
Gitlab::Geo.enabled_replicator_classes.each do |replicator_class|
......
......@@ -8,6 +8,7 @@ module Geo
include ::Gitlab::Geo::LogHelpers
idempotent!
tags :exclude_from_kubernetes
loggable_arguments 0
def perform_work(replicable_name)
......
......@@ -14,6 +14,7 @@ module Geo
idempotent!
feature_category :geo_replication
tags :exclude_from_kubernetes
def perform
Gitlab::Geo.verification_enabled_replicator_classes.each do |replicator_class|
......
......@@ -9,6 +9,7 @@ module Geo
idempotent!
sidekiq_options retry: false, dead: false
tags :exclude_from_kubernetes
loggable_arguments 0
def perform(replicable_name)
......
......@@ -9,6 +9,7 @@ module Geo
sidekiq_options retry: 3, dead: false
idempotent!
tags :exclude_from_kubernetes
loggable_arguments 0
def perform(replicable_name, replicable_id)
......
......@@ -5,6 +5,7 @@ class GroupSamlGroupSyncWorker
include Gitlab::Utils::StrongMemoize
feature_category :authentication_and_authorization
tags :exclude_from_kubernetes
idempotent!
loggable_arguments 2
......
......@@ -5,6 +5,8 @@ module GroupWikis
extend ::Gitlab::Utils::Override
include GitGarbageCollectMethods
tags :exclude_from_kubernetes
private
override :find_resource
......
......@@ -6,6 +6,7 @@ module Groups
include ApplicationWorker
feature_category :source_code_management
tags :exclude_from_kubernetes
idempotent!
loggable_arguments 0, 1
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment