diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-03-04 16:17:11 +0200 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-03-04 21:58:59 +0200 |
commit | 95da910917485816a272229188a11a5547104aa2 (patch) | |
tree | f0fca1a6ff5488c3656976dfd555dcf5b641152e | |
parent | 70c669ce5cb183b60b902a1bb71221066d3c1d06 (diff) | |
download | gitlab-ci-95da910917485816a272229188a11a5547104aa2.tar.gz |
Initialize services
-rw-r--r-- | CHANGELOG | 3 | ||||
-rw-r--r-- | db/migrate/20150204001035_build_missing_services.rb | 7 | ||||
-rw-r--r-- | db/schema.rb | 4 |
3 files changed, 12 insertions, 2 deletions
@@ -6,6 +6,9 @@ v7.9.0 - Added api for project jobs - Implementation of deploy jobs after all parallel jobs(tests). +v7.8.2 + - Fix the broken build failed email + v7.8.0 - Fix OAuth login with GitLab installed in relative URL - GitLab CI has same version as GitLab since now diff --git a/db/migrate/20150204001035_build_missing_services.rb b/db/migrate/20150204001035_build_missing_services.rb new file mode 100644 index 0000000..5e9b365 --- /dev/null +++ b/db/migrate/20150204001035_build_missing_services.rb @@ -0,0 +1,7 @@ +class BuildMissingServices < ActiveRecord::Migration + def up + Project.find_each do |project| + project.build_missing_services if project.respond_to?(:build_missing_services) + end + end +end diff --git a/db/schema.rb b/db/schema.rb index 5c22e68..cb8d01e 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20150226001835) do +ActiveRecord::Schema.define(version: 20150204001035) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -30,8 +30,8 @@ ActiveRecord::Schema.define(version: 20150226001835) do t.string "before_sha" t.text "push_data" t.integer "runner_id" - t.float "coverage" t.integer "commit_id" + t.float "coverage" t.text "commands" t.integer "job_id" end |