1. 08 Jan, 2021 1 commit
  2. 07 Jan, 2021 1 commit
  3. 06 Jan, 2021 1 commit
  4. 05 Jan, 2021 1 commit
  5. 25 Dec, 2020 1 commit
  6. 10 Dec, 2020 4 commits
  7. 09 Dec, 2020 1 commit
  8. 08 Dec, 2020 2 commits
  9. 07 Dec, 2020 3 commits
  10. 02 Dec, 2020 5 commits
  11. 01 Dec, 2020 1 commit
    • Stan Hu's avatar
      Support alternate document root directory · 098d4474
      Stan Hu authored
      This will be useful for supporting no-downtime upgrades. Admins
      attempting to upgrade GitLab via our no-downtime upgrade procedure have
      found that CSS and JavaScript often don't load while the upgrade is in
      progress. This is because in a mixed deployment scenario with a load
      balancer, this can happen:
      
      1. User accesses node version N+1, which then makes a CSS/JS request on
      version N.
      2. User accesses node version N, which then makes a CSS/JS requests on
      version N+1.
      
      In both scenarios, the user gets a 404 since only one version of the
      assets exist on a given server.
      
      To fix this, we provide an alternate path where previous and future
      assets can be stored.
      
      Relates to https://gitlab.com/gitlab-org/gitlab-workhorse/-/issues/304
      098d4474
  12. 30 Nov, 2020 5 commits
  13. 27 Nov, 2020 1 commit
    • Stan Hu's avatar
      Fix uploader not returning 413 when artifact too large · a9abe0ab
      Stan Hu authored
      When an upload exceeds the maximum limit, `ErrEntityTooLarge` gets
      returned but is wrapped in multiple layers of errors when it is
      checked. As a result, when Google Cloud Storage were used to upload
      files, artifacts exceeding the maximum size would report a "500 Internal
      Server Error" instead of the correct "413 Request Entity Too Large"
      error message.
      
      To fix this, we check the state of `hardLimitReader` and set the error
      to `ErrEntityTooLarge` at the end of the `SaveFileFromReader` to ensure
      that this error will be returned.
      
      Closes https://gitlab.com/gitlab-org/gitlab-workhorse/-/issues/328
      a9abe0ab
  14. 26 Nov, 2020 2 commits
  15. 25 Nov, 2020 2 commits
  16. 24 Nov, 2020 2 commits
  17. 23 Nov, 2020 2 commits
  18. 20 Nov, 2020 5 commits