diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-05-04 12:45:16 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-05-07 15:10:04 +0300 |
commit | 92482e01b45c337c0b9d761efd0297fc97ffcac0 (patch) | |
tree | db5b98ede77dd50d0d0a67c49763036bdff5828e /spec/factories/projects.rb | |
parent | 965d0394d371f427ad0423bda2a6dc8867b31563 (diff) |
Bump Gitaly to 0.98.0
Hooks were run for wikis, but given the internal API wasn't responding
failures happended, as seen on:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/18693
Diffstat (limited to 'spec/factories/projects.rb')
-rw-r--r-- | spec/factories/projects.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/factories/projects.rb b/spec/factories/projects.rb index a6128903546..9ab57af1c60 100644 --- a/spec/factories/projects.rb +++ b/spec/factories/projects.rb @@ -193,6 +193,13 @@ FactoryBot.define do trait :wiki_repo do after(:create) do |project| raise 'Failed to create wiki repository!' unless project.create_wiki + + # We delete hooks so that gitlab-shell will not try to authenticate with + # an API that isn't running + project.gitlab_shell.rm_directory( + project.repository_storage, + File.join("#{project.wiki.repository.disk_path}.git", "hooks") + ) end end |