Commit 628d98ca authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch 'tag-workers-as-excluded-from-gitlab-com' into 'master'

Tag some workers that we don't run on GitLab.com

See merge request gitlab-org/gitlab!61238
parents 59e23109 aa93ddb9
...@@ -65,7 +65,8 @@ ...@@ -65,7 +65,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 2 :weight: 2
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: chaos:chaos_db_spin - :name: chaos:chaos_db_spin
:worker_name: Chaos::DbSpinWorker :worker_name: Chaos::DbSpinWorker
:feature_category: :not_owned :feature_category: :not_owned
...@@ -74,7 +75,8 @@ ...@@ -74,7 +75,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 2 :weight: 2
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: chaos:chaos_kill - :name: chaos:chaos_kill
:worker_name: Chaos::KillWorker :worker_name: Chaos::KillWorker
:feature_category: :not_owned :feature_category: :not_owned
...@@ -83,7 +85,8 @@ ...@@ -83,7 +85,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 2 :weight: 2
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: chaos:chaos_leak_mem - :name: chaos:chaos_leak_mem
:worker_name: Chaos::LeakMemWorker :worker_name: Chaos::LeakMemWorker
:feature_category: :not_owned :feature_category: :not_owned
...@@ -92,7 +95,8 @@ ...@@ -92,7 +95,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 2 :weight: 2
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: chaos:chaos_sleep - :name: chaos:chaos_sleep
:worker_name: Chaos::SleepWorker :worker_name: Chaos::SleepWorker
:feature_category: :not_owned :feature_category: :not_owned
...@@ -101,7 +105,8 @@ ...@@ -101,7 +105,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 2 :weight: 2
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: container_repository:cleanup_container_repository - :name: container_repository:cleanup_container_repository
:worker_name: CleanupContainerRepositoryWorker :worker_name: CleanupContainerRepositoryWorker
:feature_category: :container_registry :feature_category: :container_registry
...@@ -1014,7 +1019,8 @@ ...@@ -1014,7 +1019,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: hashed_storage:hashed_storage_project_migrate - :name: hashed_storage:hashed_storage_project_migrate
:worker_name: HashedStorage::ProjectMigrateWorker :worker_name: HashedStorage::ProjectMigrateWorker
:feature_category: :source_code_management :feature_category: :source_code_management
...@@ -1023,7 +1029,8 @@ ...@@ -1023,7 +1029,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: hashed_storage:hashed_storage_project_rollback - :name: hashed_storage:hashed_storage_project_rollback
:worker_name: HashedStorage::ProjectRollbackWorker :worker_name: HashedStorage::ProjectRollbackWorker
:feature_category: :source_code_management :feature_category: :source_code_management
...@@ -1032,7 +1039,8 @@ ...@@ -1032,7 +1039,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: hashed_storage:hashed_storage_rollbacker - :name: hashed_storage:hashed_storage_rollbacker
:worker_name: HashedStorage::RollbackerWorker :worker_name: HashedStorage::RollbackerWorker
:feature_category: :source_code_management :feature_category: :source_code_management
...@@ -1041,7 +1049,8 @@ ...@@ -1041,7 +1049,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: incident_management:clusters_applications_check_prometheus_health - :name: incident_management:clusters_applications_check_prometheus_health
:worker_name: Clusters::Applications::CheckPrometheusHealthWorker :worker_name: Clusters::Applications::CheckPrometheusHealthWorker
:feature_category: :incident_management :feature_category: :incident_management
......
...@@ -6,5 +6,6 @@ module ChaosQueue ...@@ -6,5 +6,6 @@ module ChaosQueue
included do included do
queue_namespace :chaos queue_namespace :chaos
feature_category_not_owned! feature_category_not_owned!
tags :exclude_from_gitlab_com
end end
end end
...@@ -8,6 +8,7 @@ module HashedStorage ...@@ -8,6 +8,7 @@ module HashedStorage
queue_namespace :hashed_storage queue_namespace :hashed_storage
feature_category :source_code_management feature_category :source_code_management
tags :exclude_from_gitlab_com
# @param [Integer] start initial ID of the batch # @param [Integer] start initial ID of the batch
# @param [Integer] finish last ID of the batch # @param [Integer] finish last ID of the batch
......
...@@ -8,6 +8,7 @@ module HashedStorage ...@@ -8,6 +8,7 @@ module HashedStorage
queue_namespace :hashed_storage queue_namespace :hashed_storage
loggable_arguments 1 loggable_arguments 1
tags :exclude_from_gitlab_com
attr_reader :project_id attr_reader :project_id
......
...@@ -8,6 +8,7 @@ module HashedStorage ...@@ -8,6 +8,7 @@ module HashedStorage
queue_namespace :hashed_storage queue_namespace :hashed_storage
loggable_arguments 1 loggable_arguments 1
tags :exclude_from_gitlab_com
attr_reader :project_id attr_reader :project_id
......
...@@ -8,6 +8,7 @@ module HashedStorage ...@@ -8,6 +8,7 @@ module HashedStorage
queue_namespace :hashed_storage queue_namespace :hashed_storage
feature_category :source_code_management feature_category :source_code_management
tags :exclude_from_gitlab_com
# @param [Integer] start initial ID of the batch # @param [Integer] start initial ID of the batch
# @param [Integer] finish last ID of the batch # @param [Integer] finish last ID of the batch
......
...@@ -113,7 +113,8 @@ ...@@ -113,7 +113,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: cronjob:geo_file_download_dispatch - :name: cronjob:geo_file_download_dispatch
:worker_name: Geo::FileDownloadDispatchWorker :worker_name: Geo::FileDownloadDispatchWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -122,7 +123,8 @@ ...@@ -122,7 +123,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: cronjob:geo_metrics_update - :name: cronjob:geo_metrics_update
:worker_name: Geo::MetricsUpdateWorker :worker_name: Geo::MetricsUpdateWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -131,7 +133,8 @@ ...@@ -131,7 +133,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: cronjob:geo_prune_event_log - :name: cronjob:geo_prune_event_log
:worker_name: Geo::PruneEventLogWorker :worker_name: Geo::PruneEventLogWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -140,7 +143,8 @@ ...@@ -140,7 +143,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: cronjob:geo_registry_sync - :name: cronjob:geo_registry_sync
:worker_name: Geo::RegistrySyncWorker :worker_name: Geo::RegistrySyncWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -158,7 +162,8 @@ ...@@ -158,7 +162,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: cronjob:geo_repository_verification_primary_batch - :name: cronjob:geo_repository_verification_primary_batch
:worker_name: Geo::RepositoryVerification::Primary::BatchWorker :worker_name: Geo::RepositoryVerification::Primary::BatchWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -167,7 +172,8 @@ ...@@ -167,7 +172,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: cronjob:geo_repository_verification_secondary_scheduler - :name: cronjob:geo_repository_verification_secondary_scheduler
:worker_name: Geo::RepositoryVerification::Secondary::SchedulerWorker :worker_name: Geo::RepositoryVerification::Secondary::SchedulerWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -176,7 +182,8 @@ ...@@ -176,7 +182,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: cronjob:geo_repository_verification_secondary_shard - :name: cronjob:geo_repository_verification_secondary_shard
:worker_name: Geo::RepositoryVerification::Secondary::ShardWorker :worker_name: Geo::RepositoryVerification::Secondary::ShardWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -185,7 +192,8 @@ ...@@ -185,7 +192,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: cronjob:geo_scheduler_per_shard_scheduler - :name: cronjob:geo_scheduler_per_shard_scheduler
:worker_name: Geo::Scheduler::PerShardSchedulerWorker :worker_name: Geo::Scheduler::PerShardSchedulerWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -194,7 +202,8 @@ ...@@ -194,7 +202,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: cronjob:geo_scheduler_primary_per_shard_scheduler - :name: cronjob:geo_scheduler_primary_per_shard_scheduler
:worker_name: Geo::Scheduler::Primary::PerShardSchedulerWorker :worker_name: Geo::Scheduler::Primary::PerShardSchedulerWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -203,7 +212,8 @@ ...@@ -203,7 +212,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: cronjob:geo_scheduler_secondary_per_shard_scheduler - :name: cronjob:geo_scheduler_secondary_per_shard_scheduler
:worker_name: Geo::Scheduler::Secondary::PerShardSchedulerWorker :worker_name: Geo::Scheduler::Secondary::PerShardSchedulerWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -212,7 +222,8 @@ ...@@ -212,7 +222,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: cronjob:geo_secondary_registry_consistency - :name: cronjob:geo_secondary_registry_consistency
:worker_name: Geo::Secondary::RegistryConsistencyWorker :worker_name: Geo::Secondary::RegistryConsistencyWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -221,7 +232,8 @@ ...@@ -221,7 +232,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: true :idempotent: true
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: cronjob:geo_secondary_usage_data_cron - :name: cronjob:geo_secondary_usage_data_cron
:worker_name: Geo::SecondaryUsageDataCronWorker :worker_name: Geo::SecondaryUsageDataCronWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -232,6 +244,7 @@ ...@@ -232,6 +244,7 @@
:idempotent: :idempotent:
:tags: :tags:
- :exclude_from_kubernetes - :exclude_from_kubernetes
- :exclude_from_gitlab_com
- :name: cronjob:geo_sidekiq_cron_config - :name: cronjob:geo_sidekiq_cron_config
:worker_name: Geo::SidekiqCronConfigWorker :worker_name: Geo::SidekiqCronConfigWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -251,6 +264,7 @@ ...@@ -251,6 +264,7 @@
:idempotent: true :idempotent: true
:tags: :tags:
- :exclude_from_kubernetes - :exclude_from_kubernetes
- :exclude_from_gitlab_com
- :name: cronjob:geo_verification_cron - :name: cronjob:geo_verification_cron
:worker_name: Geo::VerificationCronWorker :worker_name: Geo::VerificationCronWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -261,6 +275,7 @@ ...@@ -261,6 +275,7 @@
:idempotent: true :idempotent: true
:tags: :tags:
- :exclude_from_kubernetes - :exclude_from_kubernetes
- :exclude_from_gitlab_com
- :name: cronjob:historical_data - :name: cronjob:historical_data
:worker_name: HistoricalDataWorker :worker_name: HistoricalDataWorker
:feature_category: :utilization :feature_category: :utilization
...@@ -436,7 +451,8 @@ ...@@ -436,7 +451,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_batch_project_registry_scheduler - :name: geo:geo_batch_project_registry_scheduler
:worker_name: Geo::Batch::ProjectRegistrySchedulerWorker :worker_name: Geo::Batch::ProjectRegistrySchedulerWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -445,7 +461,8 @@ ...@@ -445,7 +461,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_container_repository_sync - :name: geo:geo_container_repository_sync
:worker_name: Geo::ContainerRepositorySyncWorker :worker_name: Geo::ContainerRepositorySyncWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -454,7 +471,8 @@ ...@@ -454,7 +471,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_design_repository_shard_sync - :name: geo:geo_design_repository_shard_sync
:worker_name: Geo::DesignRepositoryShardSyncWorker :worker_name: Geo::DesignRepositoryShardSyncWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -463,7 +481,8 @@ ...@@ -463,7 +481,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_design_repository_sync - :name: geo:geo_design_repository_sync
:worker_name: Geo::DesignRepositorySyncWorker :worker_name: Geo::DesignRepositorySyncWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -472,7 +491,8 @@ ...@@ -472,7 +491,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_destroy - :name: geo:geo_destroy
:worker_name: Geo::DestroyWorker :worker_name: Geo::DestroyWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -483,6 +503,7 @@ ...@@ -483,6 +503,7 @@
:idempotent: true :idempotent: true
:tags: :tags:
- :exclude_from_kubernetes - :exclude_from_kubernetes
- :exclude_from_gitlab_com
- :name: geo:geo_event - :name: geo:geo_event
:worker_name: Geo::EventWorker :worker_name: Geo::EventWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -491,7 +512,8 @@ ...@@ -491,7 +512,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_file_download - :name: geo:geo_file_download
:worker_name: Geo::FileDownloadWorker :worker_name: Geo::FileDownloadWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -500,7 +522,8 @@ ...@@ -500,7 +522,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_file_registry_removal - :name: geo:geo_file_registry_removal
:worker_name: Geo::FileRegistryRemovalWorker :worker_name: Geo::FileRegistryRemovalWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -509,7 +532,8 @@ ...@@ -509,7 +532,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_file_removal - :name: geo:geo_file_removal
:worker_name: Geo::FileRemovalWorker :worker_name: Geo::FileRemovalWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -518,7 +542,8 @@ ...@@ -518,7 +542,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_hashed_storage_attachments_migration - :name: geo:geo_hashed_storage_attachments_migration
:worker_name: Geo::HashedStorageAttachmentsMigrationWorker :worker_name: Geo::HashedStorageAttachmentsMigrationWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -527,7 +552,8 @@ ...@@ -527,7 +552,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_hashed_storage_migration - :name: geo:geo_hashed_storage_migration
:worker_name: Geo::HashedStorageMigrationWorker :worker_name: Geo::HashedStorageMigrationWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -536,7 +562,8 @@ ...@@ -536,7 +562,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_project_sync - :name: geo:geo_project_sync
:worker_name: Geo::ProjectSyncWorker :worker_name: Geo::ProjectSyncWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -545,7 +572,8 @@ ...@@ -545,7 +572,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_rename_repository - :name: geo:geo_rename_repository
:worker_name: Geo::RenameRepositoryWorker :worker_name: Geo::RenameRepositoryWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -554,7 +582,8 @@ ...@@ -554,7 +582,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_repositories_clean_up - :name: geo:geo_repositories_clean_up
:worker_name: Geo::RepositoriesCleanUpWorker :worker_name: Geo::RepositoriesCleanUpWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -563,7 +592,8 @@ ...@@ -563,7 +592,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_repository_cleanup - :name: geo:geo_repository_cleanup
:worker_name: Geo::RepositoryCleanupWorker :worker_name: Geo::RepositoryCleanupWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -572,7 +602,8 @@ ...@@ -572,7 +602,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_repository_destroy - :name: geo:geo_repository_destroy
:worker_name: GeoRepositoryDestroyWorker :worker_name: GeoRepositoryDestroyWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -581,7 +612,8 @@ ...@@ -581,7 +612,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_repository_shard_sync - :name: geo:geo_repository_shard_sync
:worker_name: Geo::RepositoryShardSyncWorker :worker_name: Geo::RepositoryShardSyncWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -590,7 +622,8 @@ ...@@ -590,7 +622,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_repository_verification_primary_shard - :name: geo:geo_repository_verification_primary_shard
:worker_name: Geo::RepositoryVerification::Primary::ShardWorker :worker_name: Geo::RepositoryVerification::Primary::ShardWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -599,7 +632,8 @@ ...@@ -599,7 +632,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_repository_verification_primary_single - :name: geo:geo_repository_verification_primary_single
:worker_name: Geo::RepositoryVerification::Primary::SingleWorker :worker_name: Geo::RepositoryVerification::Primary::SingleWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -608,7 +642,8 @@ ...@@ -608,7 +642,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_repository_verification_secondary_single - :name: geo:geo_repository_verification_secondary_single
:worker_name: Geo::RepositoryVerification::Secondary::SingleWorker :worker_name: Geo::RepositoryVerification::Secondary::SingleWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -617,7 +652,8 @@ ...@@ -617,7 +652,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_reverification_batch - :name: geo:geo_reverification_batch
:worker_name: Geo::ReverificationBatchWorker :worker_name: Geo::ReverificationBatchWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -628,6 +664,7 @@ ...@@ -628,6 +664,7 @@
:idempotent: true :idempotent: true
:tags: :tags:
- :exclude_from_kubernetes - :exclude_from_kubernetes
- :exclude_from_gitlab_com
- :name: geo:geo_scheduler_primary_scheduler - :name: geo:geo_scheduler_primary_scheduler
:worker_name: Geo::Scheduler::Primary::SchedulerWorker :worker_name: Geo::Scheduler::Primary::SchedulerWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -636,7 +673,8 @@ ...@@ -636,7 +673,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_scheduler_scheduler - :name: geo:geo_scheduler_scheduler
:worker_name: Geo::Scheduler::SchedulerWorker :worker_name: Geo::Scheduler::SchedulerWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -645,7 +683,8 @@ ...@@ -645,7 +683,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_scheduler_secondary_scheduler - :name: geo:geo_scheduler_secondary_scheduler
:worker_name: Geo::Scheduler::Secondary::SchedulerWorker :worker_name: Geo::Scheduler::Secondary::SchedulerWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -654,7 +693,8 @@ ...@@ -654,7 +693,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: geo:geo_verification - :name: geo:geo_verification
:worker_name: Geo::VerificationWorker :worker_name: Geo::VerificationWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -665,6 +705,7 @@ ...@@ -665,6 +705,7 @@
:idempotent: true :idempotent: true
:tags: :tags:
- :exclude_from_kubernetes - :exclude_from_kubernetes
- :exclude_from_gitlab_com
- :name: geo:geo_verification_batch - :name: geo:geo_verification_batch
:worker_name: Geo::VerificationBatchWorker :worker_name: Geo::VerificationBatchWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -675,6 +716,7 @@ ...@@ -675,6 +716,7 @@
:idempotent: true :idempotent: true
:tags: :tags:
- :exclude_from_kubernetes - :exclude_from_kubernetes
- :exclude_from_gitlab_com
- :name: geo:geo_verification_timeout - :name: geo:geo_verification_timeout
:worker_name: Geo::VerificationTimeoutWorker :worker_name: Geo::VerificationTimeoutWorker
:feature_category: :geo_replication :feature_category: :geo_replication
...@@ -685,6 +727,7 @@ ...@@ -685,6 +727,7 @@
:idempotent: true :idempotent: true
:tags: :tags:
- :exclude_from_kubernetes - :exclude_from_kubernetes
- :exclude_from_gitlab_com
- :name: personal_access_tokens:personal_access_tokens_groups_policy - :name: personal_access_tokens:personal_access_tokens_groups_policy
:worker_name: PersonalAccessTokens::Groups::PolicyWorker :worker_name: PersonalAccessTokens::Groups::PolicyWorker
:feature_category: :authentication_and_authorization :feature_category: :authentication_and_authorization
...@@ -992,7 +1035,8 @@ ...@@ -992,7 +1035,8 @@
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 2 :weight: 2
:idempotent: :idempotent:
:tags: [] :tags:
- :exclude_from_gitlab_com
- :name: merge_request_reset_approvals - :name: merge_request_reset_approvals
:worker_name: MergeRequestResetApprovalsWorker :worker_name: MergeRequestResetApprovalsWorker
:feature_category: :source_code_management :feature_category: :source_code_management
......
...@@ -7,5 +7,6 @@ module GeoQueue ...@@ -7,5 +7,6 @@ module GeoQueue
included do included do
queue_namespace :geo queue_namespace :geo
feature_category :geo_replication feature_category :geo_replication
tags :exclude_from_gitlab_com
end end
end end
...@@ -7,6 +7,8 @@ module Geo ...@@ -7,6 +7,8 @@ module Geo
include CronjobQueue include CronjobQueue
# rubocop:enable Scalability/CronWorkerContext # rubocop:enable Scalability/CronWorkerContext
tags :exclude_from_gitlab_com
def perform def perform
unless ::Geo::ContainerRepositoryRegistry.replication_enabled? unless ::Geo::ContainerRepositoryRegistry.replication_enabled?
log_info('Container Registry replication is not enabled') log_info('Container Registry replication is not enabled')
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
module Geo module Geo
class DesignRepositoryShardSyncWorker < RepositoryShardSyncWorker # rubocop:disable Scalability/IdempotentWorker class DesignRepositoryShardSyncWorker < RepositoryShardSyncWorker # rubocop:disable Scalability/IdempotentWorker
tags :exclude_from_gitlab_com
private private
def schedule_job(project_id) def schedule_job(project_id)
......
...@@ -10,7 +10,7 @@ module Geo ...@@ -10,7 +10,7 @@ module Geo
idempotent! idempotent!
tags :exclude_from_kubernetes tags :exclude_from_kubernetes, :exclude_from_gitlab_com
loggable_arguments 0 loggable_arguments 0
def perform(replicable_name, replicable_id) def perform(replicable_name, replicable_id)
......
...@@ -7,6 +7,8 @@ module Geo ...@@ -7,6 +7,8 @@ module Geo
include CronjobQueue include CronjobQueue
# rubocop:enable Scalability/CronWorkerContext # rubocop:enable Scalability/CronWorkerContext
tags :exclude_from_gitlab_com
private private
# Cannot utilise backoff because there are no events currently being # Cannot utilise backoff because there are no events currently being
......
...@@ -12,6 +12,7 @@ module Geo ...@@ -12,6 +12,7 @@ module Geo
# rubocop:enable Scalability/CronWorkerContext # rubocop:enable Scalability/CronWorkerContext
feature_category :geo_replication feature_category :geo_replication
tags :exclude_from_gitlab_com
LEASE_TIMEOUT = 5.minutes LEASE_TIMEOUT = 5.minutes
......
...@@ -12,6 +12,7 @@ module Geo ...@@ -12,6 +12,7 @@ module Geo
include ::Gitlab::Geo::LogHelpers include ::Gitlab::Geo::LogHelpers
feature_category :geo_replication feature_category :geo_replication
tags :exclude_from_gitlab_com
def perform def perform
return if Gitlab::Database.read_only? return if Gitlab::Database.read_only?
......
...@@ -4,6 +4,7 @@ module Geo ...@@ -4,6 +4,7 @@ module Geo
class RepositoryShardSyncWorker < Geo::Scheduler::Secondary::SchedulerWorker # rubocop:disable Scalability/IdempotentWorker class RepositoryShardSyncWorker < Geo::Scheduler::Secondary::SchedulerWorker # rubocop:disable Scalability/IdempotentWorker
sidekiq_options retry: false sidekiq_options retry: false
loggable_arguments 0 loggable_arguments 0
tags :exclude_from_gitlab_com
attr_accessor :shard_name attr_accessor :shard_name
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
module Geo module Geo
class RepositorySyncWorker < Geo::Scheduler::Secondary::PerShardSchedulerWorker # rubocop:disable Scalability/IdempotentWorker class RepositorySyncWorker < Geo::Scheduler::Secondary::PerShardSchedulerWorker # rubocop:disable Scalability/IdempotentWorker
tags :exclude_from_gitlab_com
def schedule_job(shard_name) def schedule_job(shard_name)
Geo::RepositoryShardSyncWorker.perform_async(shard_name) Geo::RepositoryShardSyncWorker.perform_async(shard_name)
Geo::DesignRepositoryShardSyncWorker.perform_async(shard_name) Geo::DesignRepositoryShardSyncWorker.perform_async(shard_name)
......
...@@ -4,6 +4,8 @@ module Geo ...@@ -4,6 +4,8 @@ module Geo
module RepositoryVerification module RepositoryVerification
module Primary module Primary
class BatchWorker < Geo::Scheduler::Primary::PerShardSchedulerWorker # rubocop:disable Scalability/IdempotentWorker class BatchWorker < Geo::Scheduler::Primary::PerShardSchedulerWorker # rubocop:disable Scalability/IdempotentWorker
tags :exclude_from_gitlab_com
def perform def perform
return unless Gitlab::Geo.repository_verification_enabled? return unless Gitlab::Geo.repository_verification_enabled?
......
...@@ -6,6 +6,7 @@ module Geo ...@@ -6,6 +6,7 @@ module Geo
class ShardWorker < Geo::Scheduler::Primary::SchedulerWorker # rubocop:disable Scalability/IdempotentWorker class ShardWorker < Geo::Scheduler::Primary::SchedulerWorker # rubocop:disable Scalability/IdempotentWorker
sidekiq_options retry: false sidekiq_options retry: false
loggable_arguments 0 loggable_arguments 0
tags :exclude_from_gitlab_com
attr_accessor :shard_name attr_accessor :shard_name
......
...@@ -9,6 +9,7 @@ module Geo ...@@ -9,6 +9,7 @@ module Geo
include ExclusiveLeaseGuard include ExclusiveLeaseGuard
sidekiq_options retry: false sidekiq_options retry: false
tags :exclude_from_gitlab_com
LEASE_TIMEOUT = 1.hour.to_i LEASE_TIMEOUT = 1.hour.to_i
......
...@@ -4,6 +4,8 @@ module Geo ...@@ -4,6 +4,8 @@ module Geo
module RepositoryVerification module RepositoryVerification
module Secondary module Secondary
class SchedulerWorker < Geo::Scheduler::Secondary::PerShardSchedulerWorker # rubocop:disable Scalability/IdempotentWorker class SchedulerWorker < Geo::Scheduler::Secondary::PerShardSchedulerWorker # rubocop:disable Scalability/IdempotentWorker
tags :exclude_from_gitlab_com
def perform def perform
return unless Gitlab::Geo.repository_verification_enabled? return unless Gitlab::Geo.repository_verification_enabled?
......
...@@ -12,6 +12,7 @@ module Geo ...@@ -12,6 +12,7 @@ module Geo
attr_accessor :shard_name attr_accessor :shard_name
loggable_arguments 0 loggable_arguments 0
tags :exclude_from_gitlab_com
def perform(shard_name) def perform(shard_name)
@shard_name = shard_name @shard_name = shard_name
......
...@@ -10,6 +10,7 @@ module Geo ...@@ -10,6 +10,7 @@ module Geo
include Gitlab::Geo::ProjectLogHelpers include Gitlab::Geo::ProjectLogHelpers
sidekiq_options retry: false sidekiq_options retry: false
tags :exclude_from_gitlab_com
LEASE_TIMEOUT = 1.hour.to_i LEASE_TIMEOUT = 1.hour.to_i
......
...@@ -15,7 +15,7 @@ module Geo ...@@ -15,7 +15,7 @@ module Geo
MAX_RUNNING_JOBS = 1 MAX_RUNNING_JOBS = 1
idempotent! idempotent!
tags :exclude_from_kubernetes tags :exclude_from_kubernetes, :exclude_from_gitlab_com
loggable_arguments 0 loggable_arguments 0
def perform_work(replicable_name) def perform_work(replicable_name)
......
...@@ -14,6 +14,7 @@ module Geo ...@@ -14,6 +14,7 @@ module Geo
include ::EachShardWorker include ::EachShardWorker
feature_category :geo_replication feature_category :geo_replication
tags :exclude_from_gitlab_com
# These workers are enqueued every minute by sidekiq-cron. If one of them # These workers are enqueued every minute by sidekiq-cron. If one of them
# is already enqueued or running, then there isn't a strong case for # is already enqueued or running, then there isn't a strong case for
......
...@@ -4,6 +4,8 @@ module Geo ...@@ -4,6 +4,8 @@ module Geo
module Scheduler module Scheduler
module Primary module Primary
class PerShardSchedulerWorker < Geo::Scheduler::PerShardSchedulerWorker # rubocop:disable Scalability/IdempotentWorker class PerShardSchedulerWorker < Geo::Scheduler::PerShardSchedulerWorker # rubocop:disable Scalability/IdempotentWorker
tags :exclude_from_gitlab_com
def perform def perform
unless Gitlab::Geo.primary? unless Gitlab::Geo.primary?
log_info('Current node not a primary') log_info('Current node not a primary')
......
...@@ -4,6 +4,8 @@ module Geo ...@@ -4,6 +4,8 @@ module Geo
module Scheduler module Scheduler
module Primary module Primary
class SchedulerWorker < Geo::Scheduler::SchedulerWorker # rubocop:disable Scalability/IdempotentWorker class SchedulerWorker < Geo::Scheduler::SchedulerWorker # rubocop:disable Scalability/IdempotentWorker
tags :exclude_from_gitlab_com
def perform def perform
return unless Gitlab::Geo.primary? return unless Gitlab::Geo.primary?
......
...@@ -4,6 +4,8 @@ module Geo ...@@ -4,6 +4,8 @@ module Geo
module Scheduler module Scheduler
module Secondary module Secondary
class PerShardSchedulerWorker < Geo::Scheduler::PerShardSchedulerWorker # rubocop:disable Scalability/IdempotentWorker class PerShardSchedulerWorker < Geo::Scheduler::PerShardSchedulerWorker # rubocop:disable Scalability/IdempotentWorker
tags :exclude_from_gitlab_com
def perform def perform
unless Gitlab::Geo.geo_database_configured? unless Gitlab::Geo.geo_database_configured?
log_info('Geo database not configured') log_info('Geo database not configured')
......
...@@ -4,6 +4,8 @@ module Geo ...@@ -4,6 +4,8 @@ module Geo
module Scheduler module Scheduler
module Secondary module Secondary
class SchedulerWorker < Geo::Scheduler::SchedulerWorker # rubocop:disable Scalability/IdempotentWorker class SchedulerWorker < Geo::Scheduler::SchedulerWorker # rubocop:disable Scalability/IdempotentWorker
tags :exclude_from_gitlab_com
def perform def perform
unless Gitlab::Geo.geo_database_configured? unless Gitlab::Geo.geo_database_configured?
log_info('Geo database not configured') log_info('Geo database not configured')
......
...@@ -16,6 +16,7 @@ module Geo ...@@ -16,6 +16,7 @@ module Geo
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :geo_replication feature_category :geo_replication
tags :exclude_from_gitlab_com
REGISTRY_CLASSES = [ REGISTRY_CLASSES = [
Geo::ContainerRepositoryRegistry, Geo::ContainerRepositoryRegistry,
......
...@@ -12,7 +12,7 @@ module Geo ...@@ -12,7 +12,7 @@ module Geo
include ExclusiveLeaseGuard include ExclusiveLeaseGuard
feature_category :geo_replication feature_category :geo_replication
tags :exclude_from_kubernetes tags :exclude_from_kubernetes, :exclude_from_gitlab_com
def perform def perform
return unless Gitlab::Geo.secondary? return unless Gitlab::Geo.secondary?
......
...@@ -12,7 +12,7 @@ module Geo ...@@ -12,7 +12,7 @@ module Geo
idempotent! idempotent!
sidekiq_options retry: false, dead: false sidekiq_options retry: false, dead: false
feature_category :geo_replication feature_category :geo_replication
tags :exclude_from_kubernetes tags :exclude_from_kubernetes, :exclude_from_gitlab_com
def perform def perform
Gitlab::Geo.enabled_replicator_classes.each do |replicator_class| Gitlab::Geo.enabled_replicator_classes.each do |replicator_class|
......
...@@ -10,7 +10,7 @@ module Geo ...@@ -10,7 +10,7 @@ module Geo
include ::Gitlab::Geo::LogHelpers include ::Gitlab::Geo::LogHelpers
idempotent! idempotent!
tags :exclude_from_kubernetes tags :exclude_from_kubernetes, :exclude_from_gitlab_com
loggable_arguments 0 loggable_arguments 0
def perform_work(replicable_name) def perform_work(replicable_name)
......
...@@ -16,7 +16,7 @@ module Geo ...@@ -16,7 +16,7 @@ module Geo
idempotent! idempotent!
feature_category :geo_replication feature_category :geo_replication
tags :exclude_from_kubernetes tags :exclude_from_kubernetes, :exclude_from_gitlab_com
def perform def perform
Gitlab::Geo.verification_enabled_replicator_classes.each do |replicator_class| Gitlab::Geo.verification_enabled_replicator_classes.each do |replicator_class|
......
...@@ -9,7 +9,7 @@ module Geo ...@@ -9,7 +9,7 @@ module Geo
idempotent! idempotent!
sidekiq_options retry: false, dead: false sidekiq_options retry: false, dead: false
tags :exclude_from_kubernetes tags :exclude_from_kubernetes, :exclude_from_gitlab_com
loggable_arguments 0 loggable_arguments 0
def perform(replicable_name) def perform(replicable_name)
......
...@@ -9,7 +9,7 @@ module Geo ...@@ -9,7 +9,7 @@ module Geo
sidekiq_options retry: 3, dead: false sidekiq_options retry: 3, dead: false
idempotent! idempotent!
tags :exclude_from_kubernetes tags :exclude_from_kubernetes, :exclude_from_gitlab_com
loggable_arguments 0 loggable_arguments 0
def perform(replicable_name, replicable_id) def perform(replicable_name, replicable_id)
......
...@@ -9,6 +9,7 @@ class LdapGroupSyncWorker # rubocop:disable Scalability/IdempotentWorker ...@@ -9,6 +9,7 @@ class LdapGroupSyncWorker # rubocop:disable Scalability/IdempotentWorker
worker_has_external_dependencies! worker_has_external_dependencies!
weight 2 weight 2
loggable_arguments 0, 1 loggable_arguments 0, 1
tags :exclude_from_gitlab_com
# rubocop: disable CodeReuse/ActiveRecord # rubocop: disable CodeReuse/ActiveRecord
def perform(group_ids, provider = nil) def perform(group_ids, provider = nil)
......
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