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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
9ca8ea6c
Commit
9ca8ea6c
authored
Dec 19, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix specs
parent
e5b48221
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
10 deletions
+2
-10
app/services/ci/register_build_service.rb
app/services/ci/register_build_service.rb
+0
-2
app/workers/clear_shared_runner_minutes_worker.rb
app/workers/clear_shared_runner_minutes_worker.rb
+1
-1
spec/factories/ci/namespace_metrics.rb
spec/factories/ci/namespace_metrics.rb
+0
-7
spec/lib/gitlab/import_export/all_models.yml
spec/lib/gitlab/import_export/all_models.yml
+1
-0
No files found.
app/services/ci/register_build_service.rb
View file @
9ca8ea6c
...
...
@@ -11,8 +11,6 @@ module Ci
end
def
execute
builds
=
Ci
::
Build
.
pending
.
unstarted
builds
=
if
runner
.
shared?
builds_for_shared_runner
...
...
app/workers/clear_shared_runner_minutes_worker.rb
View file @
9ca8ea6c
class
ClearSharedRunnerMinutesWorker
include
Sidekiq
::
Worker
include
DedicatedSidekiq
Queue
include
Cronjob
Queue
def
perform
ProjectMetrics
.
update_all
(
...
...
spec/factories/ci/namespace_metrics.rb
deleted
100644 → 0
View file @
e5b48221
FactoryGirl
.
define
do
factory
:namespace_metrics
do
trait
:with_used_limit
do
shared_runners_minutes
1000
end
end
end
spec/lib/gitlab/import_export/all_models.yml
View file @
9ca8ea6c
...
...
@@ -209,6 +209,7 @@ project:
-
path_locks
-
approver_groups
-
route
-
project_metrics
award_emoji
:
-
awardable
-
user
...
...
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