Skip to content
Snippets Groups Projects
Commit a43baa05 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Rename pipeline workers to match current convention

parent cd584108
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -89,10 +89,10 @@ class CommitStatus < ActiveRecord::Base
break if transition.loopback?
 
if commit_status.complete?
ProcessPipelineWorker.perform_async(pipeline.id)
PipelineProcessWorker.perform_async(pipeline.id)
end
 
UpdatePipelineWorker.perform_async(pipeline.id)
PipelineUpdateWorker.perform_async(pipeline.id)
end
 
true
Loading
Loading
class ProcessPipelineWorker
class PipelineProcessWorker
include Sidekiq::Worker
 
sidekiq_options queue: :default
Loading
Loading
class UpdatePipelineWorker
class PipelineUpdateWorker
include Sidekiq::Worker
 
sidekiq_options queue: :default
Loading
Loading
require 'spec_helper'
 
describe ProcessPipelineWorker do
describe PipelineProcessWorker do
describe '#perform' do
context 'when pipeline exists' do
let(:pipeline) { create(:ci_pipeline) }
Loading
Loading
require 'spec_helper'
 
describe UpdatePipelineWorker do
describe PipelineUpdateWorker do
describe '#perform' do
context 'when pipeline exists' do
let(:pipeline) { create(:ci_pipeline) }
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment