Commit 4cb84072 authored by Kamil Trzciński's avatar Kamil Trzciński

Resolve merge conflicts

parent 1bd74839
...@@ -18,10 +18,7 @@ module Ci ...@@ -18,10 +18,7 @@ module Ci
after_save :update_file_store after_save :update_file_store
scope :with_files_stored_locally, -> { where(file_store: [nil, ::JobArtifactUploader::Store::LOCAL]) } scope :with_files_stored_locally, -> { where(file_store: [nil, ::JobArtifactUploader::Store::LOCAL]) }
<<<<<<< HEAD
scope :with_files_stored_remotely, -> { where(file_store: ::JobArtifactUploader::Store::REMOTE) } scope :with_files_stored_remotely, -> { where(file_store: ::JobArtifactUploader::Store::REMOTE) }
=======
>>>>>>> upstream/master
delegate :exists?, :open, to: :file delegate :exists?, :open, to: :file
......
...@@ -6,13 +6,10 @@ class ProjectStatistics < ActiveRecord::Base ...@@ -6,13 +6,10 @@ class ProjectStatistics < ActiveRecord::Base
COLUMNS_TO_REFRESH = [:repository_size, :lfs_objects_size, :commit_count].freeze COLUMNS_TO_REFRESH = [:repository_size, :lfs_objects_size, :commit_count].freeze
INCREMENTABLE_COLUMNS = [:build_artifacts_size].freeze INCREMENTABLE_COLUMNS = [:build_artifacts_size].freeze
<<<<<<< HEAD
def shared_runners_minutes def shared_runners_minutes
shared_runners_seconds.to_i / 60 shared_runners_seconds.to_i / 60
end end
=======
>>>>>>> upstream/master
def total_repository_size def total_repository_size
repository_size + lfs_objects_size repository_size + lfs_objects_size
......
...@@ -1414,7 +1414,6 @@ describe Ci::Build do ...@@ -1414,7 +1414,6 @@ describe Ci::Build do
expect { build.save! } expect { build.save! }
.to change { build.project.statistics.reload.build_artifacts_size } .to change { build.project.statistics.reload.build_artifacts_size }
.by(19) .by(19)
<<<<<<< HEAD
end end
context 'when the artifact size stays the same' do context 'when the artifact size stays the same' do
...@@ -1425,8 +1424,6 @@ describe Ci::Build do ...@@ -1425,8 +1424,6 @@ describe Ci::Build do
build.save! build.save!
end end
=======
>>>>>>> upstream/master
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment