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