Rename pipeline workers to match current convention
This commit is contained in:
parent
cd58410811
commit
a43baa056e
5 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class ProcessPipelineWorker
|
||||
class PipelineProcessWorker
|
||||
include Sidekiq::Worker
|
||||
|
||||
sidekiq_options queue: :default
|
|
@ -1,4 +1,4 @@
|
|||
class UpdatePipelineWorker
|
||||
class PipelineUpdateWorker
|
||||
include Sidekiq::Worker
|
||||
|
||||
sidekiq_options queue: :default
|
|
@ -1,6 +1,6 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe ProcessPipelineWorker do
|
||||
describe PipelineProcessWorker do
|
||||
describe '#perform' do
|
||||
context 'when pipeline exists' do
|
||||
let(:pipeline) { create(:ci_pipeline) }
|
|
@ -1,6 +1,6 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe UpdatePipelineWorker do
|
||||
describe PipelineUpdateWorker do
|
||||
describe '#perform' do
|
||||
context 'when pipeline exists' do
|
||||
let(:pipeline) { create(:ci_pipeline) }
|
Loading…
Reference in a new issue