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

View file

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