diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-04-17 12:56:04 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-04-24 11:07:37 +0200 |
commit | f0d59b95f1da0293345705fe0b2c629b911a5b5e (patch) | |
tree | 258cb7e7c36257540cf9ee124f041fe66cd07d0b /lib | |
parent | 43dd213b8c0c1d306ace25f6d307b7e777c944cd (diff) | |
download | gitlab-ce-f0d59b95f1da0293345705fe0b2c629b911a5b5e.tar.gz |
Validate presence of a stage index in the model
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/ci/pipeline/seed/stage.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/ci/pipeline/seed/stage.rb b/lib/gitlab/ci/pipeline/seed/stage.rb index c101f30d6e8..75ab20a52ef 100644 --- a/lib/gitlab/ci/pipeline/seed/stage.rb +++ b/lib/gitlab/ci/pipeline/seed/stage.rb @@ -19,6 +19,7 @@ module Gitlab def attributes { name: @attributes.fetch(:name), + index: @attributes.fetch(:index), pipeline: @pipeline, project: @pipeline.project } end |