Add artifacts_metadata
field to Ci::Build
This will contain serialized array of files inside artifacts tarball.
This commit is contained in:
parent
5f67bf74f4
commit
a1cfd2754e
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue