From 25dbc85f69db43957610813dfe8360ff16b5a591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Trzci=C5=84ski?= Date: Thu, 29 Nov 2018 12:19:28 +0100 Subject: Add deployment track/rollout This extends .gitlab-ci.yml with: ``` rollout 10%: environment: name: production rollout: 10 ``` --- db/schema.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'db/schema.rb') diff --git a/db/schema.rb b/db/schema.rb index cd502d06bf4..0eaf80565eb 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -833,6 +833,8 @@ ActiveRecord::Schema.define(version: 20190115054216) do t.string "on_stop" t.integer "status", limit: 2, null: false t.datetime_with_timezone "finished_at" + t.integer "rollout", limit: 2, default: 100, null: false + t.integer "track", limit: 2, null: false t.index ["created_at"], name: "index_deployments_on_created_at", using: :btree t.index ["deployable_type", "deployable_id"], name: "index_deployments_on_deployable_type_and_deployable_id", using: :btree t.index ["environment_id", "id"], name: "index_deployments_on_environment_id_and_id", using: :btree -- cgit v1.2.1