Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Blob Storage Support #22527

Closed
siegenthalerroger opened this issue Jan 19, 2023 · 2 comments · Fixed by #30995
Closed

Azure Blob Storage Support #22527

siegenthalerroger opened this issue Jan 19, 2023 · 2 comments · Fixed by #30995
Labels
type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first.
Milestone

Comments

@siegenthalerroger
Copy link

Feature Description

As MinIO has deprecated support for proxying s3 api requests to different types of cloud object storage, a new solution is required to support object storage. Specifically Azure does not support s3 (for a diverse range of reasons) but has an object storage solution (azure blob storage) which has an s3-like API available.

Seeing gitea support azure blob storage natively would be amazing.

Screenshots

No response

@siegenthalerroger siegenthalerroger added type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first. labels Jan 19, 2023
@yp05327
Copy link
Contributor

yp05327 commented Jun 21, 2023

Azure has go sdk for blob storage, it is possible to support it.
https://github.com/Azure/azure-sdk-for-go/tree/main/sdk/storage/azblob

ps: does MinIO's api has compatibility with aws s3 or google cloud storage?

@lunny
Copy link
Member

lunny commented Jun 21, 2023

Azure has go sdk for blob storage, it is possible to support it. https://github.com/Azure/azure-sdk-for-go/tree/main/sdk/storage/azblob

ps: does MinIO's api has compatibility with aws s3 or google cloud storage?

It should support aws s3

@lunny lunny mentioned this issue May 16, 2024
6 tasks
@lunny lunny added this to the 1.23.0 milestone May 17, 2024
lunny added a commit that referenced this issue May 30, 2024
This PR implemented object storages(LFS/Packages/Attachments and etc.)
for Azure Blob Storage. It depends on azure official golang SDK and can
support both the azure blob storage cloud service and azurite mock
server.

Replace #25458
Fix #22527 

- [x] CI Tests
- [x] integration test, MSSQL integration tests will now based on
azureblob
  - [x] unit test 
- [x] CLI Migrate Storage
- [x] Documentation for configuration added

------

TODO (other PRs):
- [ ] Improve performance of `blob download`.

---------

Co-authored-by: yp05327 <576951401@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants