Commit 5dfbaf36 authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch '196110-persist-release-node-from-gitlab-ci-yml' into 'master'

Resolve "Persist `:release` node from gitlab-ci.yml"

Closes #196110

See merge request gitlab-org/gitlab!26385
parents 34e90bca 42b0e3a8
...@@ -985,6 +985,7 @@ describe Ci::CreatePipelineService do ...@@ -985,6 +985,7 @@ describe Ci::CreatePipelineService do
expect(pipeline).to be_persisted expect(pipeline).to be_persisted
expect(build).to be_kind_of(Ci::Build) expect(build).to be_kind_of(Ci::Build)
expect(build.options).to eq(config[:release].except(:stage, :only).with_indifferent_access) expect(build.options).to eq(config[:release].except(:stage, :only).with_indifferent_access)
expect(build).to be_persisted
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment