summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-08-03 16:26:11 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-08-03 16:26:11 +0200
commit28694942843e6689e3df306e3881bdb41e884b4b (patch)
tree0201991207e2ee9ded5253ee60b28da4c6989c99
parent79aeaec98b55ef68bae9bf0a5cb61fbe4e649279 (diff)
downloadgitlab-ci-28694942843e6689e3df306e3881bdb41e884b4b.tar.gz
Update db/schema
-rw-r--r--app/controllers/lints_controller.rb2
-rw-r--r--db/schema.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/lints_controller.rb b/app/controllers/lints_controller.rb
index b6ff69c..a5f5d16 100644
--- a/app/controllers/lints_controller.rb
+++ b/app/controllers/lints_controller.rb
@@ -10,7 +10,7 @@ class LintsController < ApplicationController
@error = "Please provide content of .gitlab-ci.yml"
else
@config_processor = GitlabCiYamlProcessor.new params[:content]
- @types = @config_processor.types
+ @stages = @config_processor.stages
@builds = @config_processor.builds
@status = true
end
diff --git a/db/schema.rb b/db/schema.rb
index e23f099..0e99323 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: 20150729145246) do
+ActiveRecord::Schema.define(version: 20150803142346) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -40,7 +40,7 @@ ActiveRecord::Schema.define(version: 20150729145246) do
t.boolean "deploy", default: false
t.text "options"
t.boolean "allow_failure", default: false, null: false
- t.string "job_type"
+ t.string "stage"
end
add_index "builds", ["commit_id"], name: "index_builds_on_commit_id", using: :btree