diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2015-12-28 10:35:51 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-14 12:48:13 +0100 |
commit | ebd69c5fc1296f30238326b901ad73c891d696da (patch) | |
tree | 10a773188ebdc7d7c63cbd0329a795a3d4cb6dc3 /db/fixtures | |
parent | 304c39b6dc5878664c0dace4e3af6bdd2fa395f0 (diff) | |
download | gitlab-ce-ebd69c5fc1296f30238326b901ad73c891d696da.tar.gz |
Remove artifacts metadata column from database
Diffstat (limited to 'db/fixtures')
-rw-r--r-- | db/fixtures/development/14_builds.rb | 7 |
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 |