1. 10 Feb, 2021 1 commit
    • Stan Hu's avatar
      Support fog-aws host options for Workhorse S3 client · 7eb9d3be
      Stan Hu authored
      In addition to the standard `endpoint` parameter, fog-aws also supports:
      
      - `host`
      - `scheme`
      - `port`
      
      If consolidated object storage settings are used with these parameters,
      Workhorse will not receive the right endpoint. The S3 Workhorse client
      will attempt to use the default AWS endpoints
      (e.g. `bucket.s3.amazonaws.com`) instead of the custom host.
      
      Since fog-aws has some special defaults and logic that maps regions to
      endpoints, we drive the endpoint by looking at a sample URL.
      
      Closes https://gitlab.com/gitlab-org/gitlab/-/issues/300849
      7eb9d3be
  2. 09 Feb, 2021 39 commits