Commit a1cfd275 authored by Grzegorz Bizon's avatar Grzegorz Bizon

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

This will contain serialized array of files inside artifacts tarball.
parent 5f67bf74
...@@ -30,6 +30,7 @@ ...@@ -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 ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment