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
4cb84072
Commit
4cb84072
authored
Apr 19, 2018
by
Kamil Trzciński
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve merge conflicts
parent
1bd74839
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
9 deletions
+0
-9
app/models/ci/job_artifact.rb
app/models/ci/job_artifact.rb
+0
-3
app/models/project_statistics.rb
app/models/project_statistics.rb
+0
-3
spec/models/ci/build_spec.rb
spec/models/ci/build_spec.rb
+0
-3
No files found.
app/models/ci/job_artifact.rb
View file @
4cb84072
...
...
@@ -18,10 +18,7 @@ module Ci
after_save
:update_file_store
scope
:with_files_stored_locally
,
->
{
where
(
file_store:
[
nil
,
::
JobArtifactUploader
::
Store
::
LOCAL
])
}
<<<<<<<
HEAD
scope
:with_files_stored_remotely
,
->
{
where
(
file_store:
::
JobArtifactUploader
::
Store
::
REMOTE
)
}
=======
>>>>>>>
upstream
/
master
delegate
:exists?
,
:open
,
to: :file
...
...
app/models/project_statistics.rb
View file @
4cb84072
...
...
@@ -6,13 +6,10 @@ class ProjectStatistics < ActiveRecord::Base
COLUMNS_TO_REFRESH
=
[
:repository_size
,
:lfs_objects_size
,
:commit_count
].
freeze
INCREMENTABLE_COLUMNS
=
[
:build_artifacts_size
].
freeze
<<<<<<<
HEAD
def
shared_runners_minutes
shared_runners_seconds
.
to_i
/
60
end
=======
>>>>>>>
upstream
/
master
def
total_repository_size
repository_size
+
lfs_objects_size
...
...
spec/models/ci/build_spec.rb
View file @
4cb84072
...
...
@@ -1414,7 +1414,6 @@ describe Ci::Build do
expect
{
build
.
save!
}
.
to
change
{
build
.
project
.
statistics
.
reload
.
build_artifacts_size
}
.
by
(
19
)
<<<<<<<
HEAD
end
context
'when the artifact size stays the same'
do
...
...
@@ -1425,8 +1424,6 @@ describe Ci::Build do
build
.
save!
end
=======
>>>>>>>
upstream
/
master
end
end
...
...
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