Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 7月 16, 2022
  2. 5月 04, 2022
    • Patrick Steinhardt's avatar
      spec: Shorten path of Gitaly runtime directory to mitigate socket issues · 5e58502a
      Patrick Steinhardt 创作于
      We have recently migrated Gitaly to use a new runtime directory instead
      of its old internal socket directory. One outcome of this migration is
      that internal Unix socket paths as created by test Gitaly instances are
      now longer than they had been before because they're created inside of a
      subdirectory. Due to limitations on the maximum socket path length, this
      is causing setup failures on some developer's machines depending on the
      location of the GDK.
      
      Let's improve this situation and give developers a little bit more
      headroom by migrating Gitaly's runtime directory to `tmp/run` instead of
      nesting it into `tmp/tests/gitaly`. This runtime directory can be shared
      across all Gitalies because Gitaly creates a directory `gitaly-$PID` in
      the runtime directory.
      
      This change buys us another 9 characters of headroom towards the 104
      character limit for socket paths.
      5e58502a
  3. 1月 20, 2021
  4. 1月 14, 2021
  5. 10月 23, 2020
  6. 10月 15, 2020
  7. 10月 14, 2020
  8. 3月 11, 2020
  9. 3月 10, 2020
    • Nick Thomas's avatar
      Run feature specs through Workhorse · c1e5ad36
      Nick Thomas 创作于
      In development and production, Workhorse is an essential part of how
      GitLab operates. However, it is currently excluded from tests. This
      makes it hard to approach features that rely on workhorse - like file
      uploads - in a test-driven manner.
      
      Introducing workhorse into the test suite for feature specs seems to
      have minimal speed impact, and should help significantly with this.
      c1e5ad36
  10. 9月 03, 2019
    • Yorick Peterse's avatar
      Fix Git ignore for tmp/, shared/, and plugins/ · 55063f85
      Yorick Peterse 创作于
      The old rules meant that any future changes to these directories would
      require the use of `git add -f` to be staged. This is problematic for
      the upcoming FOSS-only mirror of GitLab. Any changes to be synced to
      this mirror are staged using `git add --all .`, which due to the Git
      ignore rules would not add the tmp/ and shared/ directories. This then
      leads to various specs failing because they expect certain
      sub-directories of these directories to be available.
      
      This commit changes the rules so that we include the .gitkeep files,
      ignore other files, and completely ignore anything in tmp/test. This
      requires that the rules are specified in tmp/.gitignore and
      shared/.gitignore, instead of the top-level .gitignore, without this I
      could not get Git to include the .gitkeep files properly.
      55063f85
  11. 7月 02, 2019
  12. 6月 03, 2017
  13. 3月 21, 2017
  14. 10月 04, 2015
  15. 3月 31, 2014
  16. 9月 04, 2012
加载中