Add `artifacts_metadata` field to `Ci::Build`

This will contain serialized array of files inside artifacts tarball.
This commit is contained in:
Grzegorz Bizon 2015-12-17 09:09:46 +01:00
parent 5f67bf74f4
commit a1cfd2754e
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@
# description :string(255)
# artifacts_file :text
# gl_project_id :integer
# artifacts_metadata :text
#
module Ci
@ -40,6 +41,7 @@ module Ci
belongs_to :trigger_request, class_name: 'Ci::TriggerRequest'
serialize :options
serialize :artifacts_metadata
validates :coverage, numericality: true, allow_blank: true
validates_presence_of :ref