Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • G gitlab-ce
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedinexedi
  • gitlab-ce
  • Repository
  • gitlab-ce
  • spec
  • initializers
  • direct_upload_support_spec.rb
Find file BlameHistoryPermalink
  • Stan Hu's avatar
    Add Azure Blob Storage support · 7c4794bc
    Stan Hu authored Aug 06, 2020
    This uses our custom Azure gem
    (https://gitlab.com/gitlab-org/gitlab-fog-azure-rm) to integrate direct
    upload access with GitLab.
    
    Because the Azure Put Blob API does not work with chunked encoding,
    uploads cannot be streamed directly via a pre-signed URL without saving
    to disk first. To make this work without that, we need to add an Azure
    client directly in Workhorse that uses the Put Block and Put Block List
    API.
    
    The Workhorse client is implemented in
    https://gitlab.com/gitlab-org/gitlab-workhorse/-/merge_requests/555. We
    use the Go Cloud Development Kit to generate a URL
    (e.g. `azblob://container`) that can be extended for other object
    storage providers.
    
    Part of https://gitlab.com/gitlab-org/gitlab/-/issues/25877
    7c4794bc
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7