diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-02-02 17:01:52 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-02-02 17:01:52 +0000 |
commit | 93e98058ead3252dfb0ec092957dc92e75542456 (patch) | |
tree | 5ac56bd489f5ce350f463d109924fef6b56cf9b1 /db | |
parent | ebb951bac32dbc487b3a2ecdd7e9325c399f275d (diff) | |
parent | 1c24c79a83bff0d1535d813eb8146fc799d5d8ac (diff) | |
download | gitlab-ce-93e98058ead3252dfb0ec092957dc92e75542456.tar.gz |
Merge branch '20248-add-coverage-regex-in-job-yaml' into 'master'
Add ability to define a coverage regex in the .gitlab-ci.yml
Closes #20428
See merge request !7447
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20161114024742_add_coverage_regex_to_builds.rb | 13 | ||||
-rw-r--r-- | db/schema.rb | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/db/migrate/20161114024742_add_coverage_regex_to_builds.rb b/db/migrate/20161114024742_add_coverage_regex_to_builds.rb new file mode 100644 index 00000000000..88aa5d52b39 --- /dev/null +++ b/db/migrate/20161114024742_add_coverage_regex_to_builds.rb @@ -0,0 +1,13 @@ +# See http://doc.gitlab.com/ce/development/migration_style_guide.html +# for more information on how to write migrations for GitLab. + +class AddCoverageRegexToBuilds < ActiveRecord::Migration + include Gitlab::Database::MigrationHelpers + + # Set this constant to true if this migration requires downtime. + DOWNTIME = false + + def change + add_column :ci_builds, :coverage_regex, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 5efb4f6595c..c73c311ccb2 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -215,6 +215,7 @@ ActiveRecord::Schema.define(version: 20170130204620) do t.datetime "queued_at" t.string "token" t.integer "lock_version" + t.string "coverage_regex" end add_index "ci_builds", ["commit_id", "stage_idx", "created_at"], name: "index_ci_builds_on_commit_id_and_stage_idx_and_created_at", using: :btree |