Commit c0805d40 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'pks-gitaly-atomic-repo-creation' into 'master'

gitaly: Atomic repository creation

See merge request gitlab-org/gitlab!75327
parents a385aa11 f0c2820c
518670d57d1a6527aaf46b5b9bf5cb00f2e8f11b
f87bc1e983d11788fdbce953dced45ec5554af23
......@@ -190,7 +190,7 @@ FactoryBot.define do
end
after :create do |project, evaluator|
raise "Failed to create repository!" unless project.create_repository
raise "Failed to create repository!" unless project.repository.exists? || project.create_repository
evaluator.files.each do |filename, content|
project.repository.create_file(
......
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