Commit ef7cb02f authored by Shinya Maeda's avatar Shinya Maeda

Merge branch '336285-release-cpu-bound-worker-annotation' into 'master'

Add worker_resource_boundary to Release workers

See merge request gitlab-org/gitlab!66870
parents 4aec9e9e ca9a8509
......@@ -261,7 +261,7 @@
:feature_category: :continuous_delivery
:has_external_dependencies:
:urgency: :low
:resource_boundary: :unknown
:resource_boundary: :cpu
:weight: 1
:idempotent:
:tags: []
......@@ -381,7 +381,7 @@
:feature_category: :pages
:has_external_dependencies:
:urgency: :low
:resource_boundary: :unknown
:resource_boundary: :cpu
:weight: 1
:idempotent:
:tags: []
......@@ -390,7 +390,7 @@
:feature_category: :pages
:has_external_dependencies:
:urgency: :low
:resource_boundary: :unknown
:resource_boundary: :cpu
:weight: 1
:idempotent:
:tags: []
......@@ -2431,7 +2431,7 @@
:feature_category: :pages
:has_external_dependencies:
:urgency: :low
:resource_boundary: :unknown
:resource_boundary: :cpu
:weight: 1
:idempotent:
:tags:
......
......@@ -10,6 +10,7 @@ module Environments
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :continuous_delivery
worker_resource_boundary :cpu
def perform
AutoStopService.new.execute
......
......@@ -9,6 +9,7 @@ class PagesDomainSslRenewalCronWorker # rubocop:disable Scalability/IdempotentWo
include CronjobQueue
feature_category :pages
worker_resource_boundary :cpu
def perform
return unless ::Gitlab::LetsEncrypt.enabled?
......
......@@ -9,6 +9,7 @@ class PagesDomainVerificationCronWorker # rubocop:disable Scalability/Idempotent
include CronjobQueue
feature_category :pages
worker_resource_boundary :cpu
def perform
return if Gitlab::Database.read_only?
......
......@@ -9,6 +9,7 @@ class PagesWorker # rubocop:disable Scalability/IdempotentWorker
feature_category :pages
loggable_arguments 0, 1
tags :requires_disk_io, :exclude_from_kubernetes
worker_resource_boundary :cpu
def perform(action, *arg)
send(action, *arg) # rubocop:disable GitlabSecurity/PublicSend
......
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