Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2015-12-28 12:35:51 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-01-14 14:48:13 +0300
commitebd69c5fc1296f30238326b901ad73c891d696da (patch)
tree10a773188ebdc7d7c63cbd0329a795a3d4cb6dc3 /db/fixtures
parent304c39b6dc5878664c0dace4e3af6bdd2fa395f0 (diff)
Remove artifacts metadata column from database
Diffstat (limited to 'db/fixtures')
-rw-r--r--db/fixtures/development/14_builds.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/db/fixtures/development/14_builds.rb b/db/fixtures/development/14_builds.rb
index 2e15f30adbb..e625fd6b75a 100644
--- a/db/fixtures/development/14_builds.rb
+++ b/db/fixtures/development/14_builds.rb
@@ -12,7 +12,6 @@ class Gitlab::Seeder::Builds
FileUtils.copy(artifacts_path, artifacts_cache_file_path)
File.open(artifacts_cache_file_path, 'r') do |file|
build.artifacts_file = file
- build.artifacts_metadata = artifacts_metadata
end
begin
@@ -57,12 +56,6 @@ class Gitlab::Seeder::Builds
def artifacts_cache_file_path
artifacts_path.to_s.gsub('ci_', "p#{@project.id}_")
end
-
- def artifacts_metadata
- return @artifacts_metadata if @artifacts_metadata
- logs, _exit_status = Gitlab::Popen.popen(%W(tar tzf #{artifacts_path}))
- @artifacts_metadata = logs.split(/\n/)
- end
end
Gitlab::Seeder.quiet do