Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
ea9a0a28d66c
Commit
bbd4831b
authored
Apr 27, 2018
by
Dylan Griffith
Browse files
Bring back shared_runners_available? method since it is overriden in EE
parent
ed903f5d46f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/models/project.rb
View file @
ea9a0a28
...
...
@@ -1292,8 +1292,12 @@ def enable_ci
project_feature
.
update_attribute
(
:builds_access_level
,
ProjectFeature
::
ENABLED
)
end
def
shared_runners_available?
shared_runners_enabled?
end
def
shared_runners
@shared_runners
||=
shared_runners_
en
able
d
?
?
Ci
::
Runner
.
shared
:
Ci
::
Runner
.
none
@shared_runners
||=
shared_runners_
avail
able?
?
Ci
::
Runner
.
shared
:
Ci
::
Runner
.
none
end
def
group_runners
...
...
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