mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-21 01:14:31 +08:00
fb7b743bd0
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>
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"name": "Gitea DevContainer",
|
|
"image": "mcr.microsoft.com/devcontainers/go:1.22-bullseye",
|
|
"features": {
|
|
// installs nodejs into container
|
|
"ghcr.io/devcontainers/features/node:1": {
|
|
"version": "20"
|
|
},
|
|
"ghcr.io/devcontainers/features/git-lfs:1.1.0": {},
|
|
"ghcr.io/devcontainers-contrib/features/poetry:2": {},
|
|
"ghcr.io/devcontainers/features/python:1": {
|
|
"version": "3.12"
|
|
}
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"settings": {},
|
|
// same extensions as Gitpod, should match /.gitpod.yml
|
|
"extensions": [
|
|
"editorconfig.editorconfig",
|
|
"dbaeumer.vscode-eslint",
|
|
"golang.go",
|
|
"stylelint.vscode-stylelint",
|
|
"DavidAnson.vscode-markdownlint",
|
|
"Vue.volar",
|
|
"ms-azuretools.vscode-docker",
|
|
"vitest.explorer",
|
|
"qwtel.sqlite-viewer",
|
|
"GitHub.vscode-pull-request-github",
|
|
"Azurite.azurite"
|
|
]
|
|
}
|
|
},
|
|
"portsAttributes": {
|
|
"3000": {
|
|
"label": "Gitea Web",
|
|
"onAutoForward": "notify"
|
|
}
|
|
},
|
|
"postCreateCommand": "make deps"
|
|
}
|