• Toon Claes's avatar
    test: Use GDK's Gitaly vendored gems if exist · 456843de
    Toon Claes authored
    Some users prefer to vendor the installed gems. This also applies to the
    gems installed in <gdk>/gitaly/ruby.
    
    Since [1] the setup of Gitaly is sped up by copying files over from
    GDK's Gitaly. But this change also skipped over installation of gems. So
    when GDK's Gitaly is using vendored gems, Gitaly in test will not find
    them.
    
    This change goes looking into GDK's Gitaly to see if it vendored gems,
    and if so the BUNDLE_PATH is set to that directory.
    
    1. 08af0f9f (Speed up gitaly setup in tests, 2021-07-20)
    456843de
gitaly_setup.rb 5.42 KB