diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-27 18:10:35 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-27 18:10:35 +0300 |
commit | e8aa488899554f5fe4413779f485583d691fd5a8 (patch) | |
tree | e999521cc00b4b958c668e84550a439e559ca431 /app/workers | |
parent | 5cb0fa35e709bcd7f9d69e050010e44092a48623 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/all_queues.yml | 9 | ||||
-rw-r--r-- | app/workers/ci/create_cross_project_pipeline_worker.rb | 19 |
2 files changed, 0 insertions, 28 deletions
diff --git a/app/workers/all_queues.yml b/app/workers/all_queues.yml index 446cba267ad..56d67c8088f 100644 --- a/app/workers/all_queues.yml +++ b/app/workers/all_queues.yml @@ -1929,15 +1929,6 @@ :weight: 4 :idempotent: true :tags: [] -- :name: pipeline_default:ci_create_cross_project_pipeline - :worker_name: Ci::CreateCrossProjectPipelineWorker - :feature_category: :continuous_integration - :has_external_dependencies: false - :urgency: :low - :resource_boundary: :cpu - :weight: 3 - :idempotent: false - :tags: [] - :name: pipeline_default:ci_create_downstream_pipeline :worker_name: Ci::CreateDownstreamPipelineWorker :feature_category: :continuous_integration diff --git a/app/workers/ci/create_cross_project_pipeline_worker.rb b/app/workers/ci/create_cross_project_pipeline_worker.rb deleted file mode 100644 index 4881ee12e5c..00000000000 --- a/app/workers/ci/create_cross_project_pipeline_worker.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -module Ci - class CreateCrossProjectPipelineWorker # rubocop:disable Scalability/IdempotentWorker - include ::ApplicationWorker - include ::PipelineQueue - - sidekiq_options retry: 3 - worker_resource_boundary :cpu - - def perform(bridge_id) - ::Ci::Bridge.find_by_id(bridge_id).try do |bridge| - ::Ci::CreateDownstreamPipelineService - .new(bridge.project, bridge.user) - .execute(bridge) - end - end - end -end |