Skip to content
Snippets Groups Projects
  1. Feb 13, 2018
  2. Feb 01, 2018
  3. Jan 30, 2018
  4. Jan 26, 2018
  5. Jan 25, 2018
  6. Jan 23, 2018
  7. Jan 04, 2018
  8. Jan 02, 2018
  9. Dec 26, 2017
  10. Dec 23, 2017
  11. Dec 20, 2017
  12. Dec 19, 2017
    • Lin Jen-Shin's avatar
      Preserve gem path so that we use the same gems · 873bc3a6
      Lin Jen-Shin authored
      Without this patch, I would end up with:
      
      ```
      An error occurred in a `before(:suite)` hook.
      Failure/Error: raise "could not connect to gitaly at #{socket.inspect} after #{sleep_time} seconds"
      
      RuntimeError:
        could not connect to gitaly at "tmp/tests/gitaly/gitaly.socket" after 10 seconds
      ```
      
      Digging into it, it's because `scripts/gitaly-test-spawn` could not
      spawn the process, because it cannot find the installed gems.
      
      I personally installed all my gems under $HOME, namely with:
      
      * `gem install rake --user-install` or:
      * `bundle install --path ~/.gem`
      
      The gems would be installed to `~/.gem/ruby/2.4.0/gems`, where
      the version is Ruby ABI version.
      
      Now we're changing $HOME, making RubyGems think that the gems
      would be installed to `tmp/tests/ruby/2.4.0/gems` which is
      apparently not the case.
      
      In order to workaround this, we could preserve $GEM_PATH
      populated by RubyGems, ignoring the default path based on $HOME.
      873bc3a6
  13. Dec 15, 2017
  14. Dec 11, 2017
  15. Dec 01, 2017
  16. Nov 30, 2017
  17. Nov 24, 2017
  18. Nov 23, 2017
  19. Nov 17, 2017
  20. Nov 16, 2017
  21. Nov 10, 2017
    • Stan Hu's avatar
      Use a non-superuser user to access GitLab to ensure permissions are proper · 8efdf75b
      Stan Hu authored
      We have run into permission issues with MySQL triggers in #36633 that
      would have been caught earlier either if our migration tests or GitLab QA
      tests had been testing against non-superuser users. This change creates
      a non-superuser that has access to the GitLab test database and uses that.
      
      Closes #39932
      8efdf75b
  22. Nov 03, 2017
  23. Oct 17, 2017
  24. Sep 29, 2017
Loading