Commit 6686e131 authored by Steve Abrams's avatar Steve Abrams

Merge branch 'bvl-fix-create-release-worker-is-not-cron' into 'master'

Releases::CreateEvidenceWorker is not a cronjob

See merge request gitlab-org/gitlab!54432
parents c2689e0b a7685dba
......@@ -355,14 +355,6 @@
:weight: 1
:idempotent:
:tags: []
- :name: cronjob:releases_create_evidence
:feature_category: :release_evidence
:has_external_dependencies:
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags: []
- :name: cronjob:releases_manage_evidence
:feature_category: :release_evidence
:has_external_dependencies:
......@@ -2100,6 +2092,14 @@
:weight: 2
:idempotent:
:tags: []
- :name: releases_create_evidence
:feature_category: :release_evidence
:has_external_dependencies:
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
:tags: []
- :name: remote_mirror_notification
:feature_category: :source_code_management
:has_external_dependencies:
......
......@@ -3,7 +3,6 @@
module Releases
class CreateEvidenceWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :release_evidence
......
---
title: move create_release_evidence sidekiq queue out of the cronjob namespace
merge_request: 54432
author:
type: fixed
......@@ -302,6 +302,8 @@
- 2
- - refresh_license_compliance_checks
- 2
- - releases_create_evidence
- 1
- - remote_mirror_notification
- 2
- - repository_check
......
# frozen_string_literal: true
class MoveCreateReleaseEvidenceQueueOutOfCronjobNamespace < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers
# Set this constant to true if this migration requires downtime.
DOWNTIME = false
def up
sidekiq_queue_migrate 'cronjob:releases_create_evidence', to: 'releases_create_evidence'
end
def down
sidekiq_queue_migrate 'releases_create_evidence', to: 'cronjob:releases_create_evidence'
end
end
281ea05a95785b7f1d2d805bf8fe071c0fa59425eb01b46eeb69ad21f5650e29
\ No newline at end of file
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