Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
cd9409f0
Commit
cd9409f0
authored
6 years ago
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify pipeline processing service
parent
6d8a490f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
9 deletions
+1
-9
app/models/concerns/ci/processable.rb
app/models/concerns/ci/processable.rb
+0
-4
app/services/ci/process_build_service.rb
app/services/ci/process_build_service.rb
+1
-5
No files found.
app/models/concerns/ci/processable.rb
View file @
cd9409f0
...
@@ -16,10 +16,6 @@ module Ci
...
@@ -16,10 +16,6 @@ module Ci
raise
NotImplementedError
raise
NotImplementedError
end
end
def
artifacts?
raise
NotImplementedError
end
def
when
def
when
raise
NotImplementedError
raise
NotImplementedError
end
end
...
...
This diff is collapsed.
Click to expand it.
app/services/ci/process_build_service.rb
View file @
cd9409f0
...
@@ -9,7 +9,7 @@ module Ci
...
@@ -9,7 +9,7 @@ module Ci
elsif
build
.
action?
elsif
build
.
action?
build
.
actionize
build
.
actionize
else
else
enqueue
(
build
)
build
.
enqueue
end
end
true
true
...
@@ -21,10 +21,6 @@ module Ci
...
@@ -21,10 +21,6 @@ module Ci
private
private
def
enqueue
(
build
)
build
.
enqueue
end
def
valid_statuses_for_when
(
value
)
def
valid_statuses_for_when
(
value
)
case
value
case
value
when
'on_success'
when
'on_success'
...
...
This diff is collapsed.
Click to expand it.
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