1. 05 Jun, 2017 3 commits
    • Kamil Trzciński's avatar
      Merge branch '25680-CI_ENVIRONMENT_URL' into 'master' · f7110642
      Kamil Trzciński authored
      Add `$CI_ENVIRONMENT_URL` as a job variable
      
      Closes #25680
      
      See merge request !11695
      f7110642
    • Kamil Trzciński's avatar
      Merge branch 'sh-fix-lfs-from-moving-across-filesystems' into 'master' · 761e3764
      Kamil Trzciński authored
      Fix LFS timeouts when trying to save large files
      
      Closes #33218
      
      See merge request !11866
      761e3764
    • Stan Hu's avatar
      Fix LFS timeouts when trying to save large files · 37dd0737
      Stan Hu authored
      The following was happening:
      
      1. Workhorse stores an LFS file in /var/opt/gitlab/gitlab-rails/shared/lfs-objects
      2. CarrierWave then renames the file to a temporary directory (e.g. /opt/gitlab/embedded/service/gitlab-rails/tmp)
      3. CarrierWave then renames the file to its final location (e.g. /var/opt/gitlab/gitlab-rails/shared/lfs-objects)
      
      When the LFS upload path was on a different filesystem than the Rails
      installation, step 2 could take a longer than 10 seconds, at which point Workhorse
      would time out with "badgateway: failed after 10s: context canceled".
      
      This change makes the work path in the same root as the LFS storage path, preventing moves
      across filesystems.
      
      Closes #33218
      37dd0737
  2. 04 Jun, 2017 3 commits
  3. 03 Jun, 2017 2 commits
  4. 02 Jun, 2017 32 commits