BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
a43baa05
Commit
a43baa05
authored
Oct 06, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename pipeline workers to match current convention
parent
cd584108
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
commit_status.rb
app/models/commit_status.rb
+2
-2
pipeline_process_worker.rb
app/workers/pipeline_process_worker.rb
+1
-1
pipeline_update_worker.rb
app/workers/pipeline_update_worker.rb
+1
-1
pipeline_proccess_worker_spec.rb
spec/workers/pipeline_proccess_worker_spec.rb
+1
-1
pipeline_update_worker_spec.rb
spec/workers/pipeline_update_worker_spec.rb
+1
-1
No files found.
app/models/commit_status.rb
View file @
a43baa05
...
...
@@ -89,10 +89,10 @@ class CommitStatus < ActiveRecord::Base
break
if
transition
.
loopback?
if
commit_status
.
complete?
P
rocessPipeline
Worker
.
perform_async
(
pipeline
.
id
)
P
ipelineProcess
Worker
.
perform_async
(
pipeline
.
id
)
end
UpdatePipelin
eWorker
.
perform_async
(
pipeline
.
id
)
PipelineUpdat
eWorker
.
perform_async
(
pipeline
.
id
)
end
true
...
...
app/workers/p
rocess_pipeline
_worker.rb
→
app/workers/p
ipeline_process
_worker.rb
View file @
a43baa05
class
P
rocessPipeline
Worker
class
P
ipelineProcess
Worker
include
Sidekiq
::
Worker
sidekiq_options
queue: :default
...
...
app/workers/
update_pipelin
e_worker.rb
→
app/workers/
pipeline_updat
e_worker.rb
View file @
a43baa05
class
UpdatePipelin
eWorker
class
PipelineUpdat
eWorker
include
Sidekiq
::
Worker
sidekiq_options
queue: :default
...
...
spec/workers/p
rocess_pipeline
_worker_spec.rb
→
spec/workers/p
ipeline_proccess
_worker_spec.rb
View file @
a43baa05
require
'spec_helper'
describe
P
rocessPipeline
Worker
do
describe
P
ipelineProcess
Worker
do
describe
'#perform'
do
context
'when pipeline exists'
do
let
(
:pipeline
)
{
create
(
:ci_pipeline
)
}
...
...
spec/workers/
update_pipelin
e_worker_spec.rb
→
spec/workers/
pipeline_updat
e_worker_spec.rb
View file @
a43baa05
require
'spec_helper'
describe
UpdatePipelin
eWorker
do
describe
PipelineUpdat
eWorker
do
describe
'#perform'
do
context
'when pipeline exists'
do
let
(
:pipeline
)
{
create
(
:ci_pipeline
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment