summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-04-17 14:35:36 +0300
committerValery Sizov <vsv2711@gmail.com>2015-04-17 14:35:36 +0300
commit889942fcbbbe44581e33efbb0d62a5fd0e12ab61 (patch)
tree31f0ea045d1b1185ff3b2b95c81c93f697f80deb
parente803e3f26f771b8e424d251951c88892858cb6b1 (diff)
downloadgitlab-ci-cleanup.tar.gz
annotatecleanup
-rw-r--r--app/models/build.rb7
-rw-r--r--app/models/job.rb1
-rw-r--r--spec/factories/builds.rb7
-rw-r--r--spec/models/build_spec.rb7
-rw-r--r--spec/models/job_spec.rb1
5 files changed, 5 insertions, 18 deletions
diff --git a/app/models/build.rb b/app/models/build.rb
index da6257a..c9f1230 100644
--- a/app/models/build.rb
+++ b/app/models/build.rb
@@ -4,20 +4,15 @@
#
# id :integer not null, primary key
# project_id :integer
-# ref :string(255)
# status :string(255)
# finished_at :datetime
# trace :text
# created_at :datetime
# updated_at :datetime
-# sha :string(255)
# started_at :datetime
-# tmp_file :string(255)
-# before_sha :string(255)
-# push_data :text
# runner_id :integer
-# coverage :float
# commit_id :integer
+# coverage :float
# commands :text
# job_id :integer
#
diff --git a/app/models/job.rb b/app/models/job.rb
index 14cc344..110c96d 100644
--- a/app/models/job.rb
+++ b/app/models/job.rb
@@ -13,6 +13,7 @@
# build_tags :boolean default(FALSE), not null
# job_type :string(255) default("parallel")
# refs :string(255)
+# deleted_at :datetime
#
class Job < ActiveRecord::Base
diff --git a/spec/factories/builds.rb b/spec/factories/builds.rb
index 369f4ee..a722a05 100644
--- a/spec/factories/builds.rb
+++ b/spec/factories/builds.rb
@@ -4,20 +4,15 @@
#
# id :integer not null, primary key
# project_id :integer
-# ref :string(255)
# status :string(255)
# finished_at :datetime
# trace :text
# created_at :datetime
# updated_at :datetime
-# sha :string(255)
# started_at :datetime
-# tmp_file :string(255)
-# before_sha :string(255)
-# push_data :text
# runner_id :integer
-# coverage :float
# commit_id :integer
+# coverage :float
# commands :text
# job_id :integer
#
diff --git a/spec/models/build_spec.rb b/spec/models/build_spec.rb
index de0e0b9..073a215 100644
--- a/spec/models/build_spec.rb
+++ b/spec/models/build_spec.rb
@@ -4,20 +4,15 @@
#
# id :integer not null, primary key
# project_id :integer
-# ref :string(255)
# status :string(255)
# finished_at :datetime
# trace :text
# created_at :datetime
# updated_at :datetime
-# sha :string(255)
# started_at :datetime
-# tmp_file :string(255)
-# before_sha :string(255)
-# push_data :text
# runner_id :integer
-# coverage :float
# commit_id :integer
+# coverage :float
# commands :text
# job_id :integer
#
diff --git a/spec/models/job_spec.rb b/spec/models/job_spec.rb
index 96221d7..d993139 100644
--- a/spec/models/job_spec.rb
+++ b/spec/models/job_spec.rb
@@ -13,6 +13,7 @@
# build_tags :boolean default(FALSE), not null
# job_type :string(255) default("parallel")
# refs :string(255)
+# deleted_at :datetime
#
require 'spec_helper'