Skip to content

Commit 0a0c188

Browse files
committed
first
1 parent ef6f5f0 commit 0a0c188

File tree

8 files changed

+420
-4
lines changed

8 files changed

+420
-4
lines changed

assets/go-licenses.json

+15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

custom/conf/app.example.ini

+25
Original file line numberDiff line numberDiff line change
@@ -1833,6 +1833,10 @@ LEVEL = Info
18331833
;;
18341834
;; Minio checksum algorithm: default (for MinIO or AWS S3) or md5 (for Cloudflare or Backblaze)
18351835
;MINIO_CHECKSUM_ALGORITHM = default
1836+
;; override the azure blob base path if storage type is azureblob
1837+
;AZURE_BLOB_BASE_PATH = attachments/
1838+
;; override the azure blob base path if storage type is azureblob
1839+
;AZURE_BLOB_CONTAINER = attachments/
18361840

18371841
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
18381842
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -2395,6 +2399,8 @@ LEVEL = Info
23952399
;STORAGE_TYPE = local
23962400
;; override the minio base path if storage type is minio
23972401
;MINIO_BASE_PATH = packages/
2402+
;; override the azure blob base path if storage type is azureblob
2403+
;AZURE_BLOB_BASE_PATH = packages/
23982404
;;
23992405
;; Path for chunked uploads. Defaults to APP_DATA_PATH + `tmp/package-upload`
24002406
;CHUNKED_UPLOAD_PATH = tmp/package-upload
@@ -2468,6 +2474,8 @@ LEVEL = Info
24682474
;;
24692475
;; override the minio base path if storage type is minio
24702476
;MINIO_BASE_PATH = repo-archive/
2477+
;; override the azure blob base path if storage type is azureblob
2478+
;AZURE_BLOB_BASE_PATH = repo-archive/
24712479

24722480
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
24732481
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -2491,6 +2499,8 @@ LEVEL = Info
24912499
;;
24922500
;; override the minio base path if storage type is minio
24932501
;MINIO_BASE_PATH = lfs/
2502+
;; override the azure blob base path if storage type is azureblob
2503+
;AZURE_BLOB_BASE_PATH = lfs/
24942504

24952505
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
24962506
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -2529,6 +2539,21 @@ LEVEL = Info
25292539
;; Minio skip SSL verification available when STORAGE_TYPE is `minio`
25302540
;MINIO_INSECURE_SKIP_VERIFY = false
25312541

2542+
;[storage.azureblob]
2543+
;STORAGE_TYPE=azureblob
2544+
;;
2545+
;; Azure Blob endpoint to connect only available when STORAGE_TYPE is `azureblob`
2546+
;AZUREBLOB_ENDPOINT = https://<account_name>.blob.core.windows.net/
2547+
;;
2548+
;; Azure Blob account name to connect only available when STORAGE_TYPE is `azureblob`
2549+
;AZUREBLOB_ACCOUNT_NAME =
2550+
;;
2551+
;; Azure Blob account key to connect only available when STORAGE_TYPE is `azureblob`
2552+
;AZUREBLOB_ACCOUNT_KEY =
2553+
;;
2554+
;; Azure Blob container to store the attachments only available when STORAGE_TYPE is `azureblob`
2555+
;AZUREBLOB_CONTAINER =
2556+
25322557
;[proxy]
25332558
;; Enable the proxy, all requests to external via HTTP will be affected
25342559
;PROXY_ENABLED = false

go.mod

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ require (
1414
gitea.com/lunny/dingtalk_webhook v0.0.0-20171025031554-e3534c89ef96
1515
gitea.com/lunny/levelqueue v0.4.2-0.20220729054728-f020868cc2f7
1616
github.com/42wim/sshsig v0.0.0-20211121163825-841cf5bbc121
17+
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.3.0
18+
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0
1719
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358
1820
github.com/NYTimes/gziphandler v1.1.1
1921
github.com/PuerkitoBio/goquery v1.8.1
@@ -129,6 +131,7 @@ require (
129131
cloud.google.com/go/compute v1.18.0 // indirect
130132
cloud.google.com/go/compute/metadata v0.2.3 // indirect
131133
git.sr.ht/~mariusor/go-xsd-duration v0.0.0-20220703122237-02e73435a078 // indirect
134+
github.com/Azure/azure-sdk-for-go/sdk/internal v1.1.1 // indirect
132135
github.com/ClickHouse/ch-go v0.55.0 // indirect
133136
github.com/ClickHouse/clickhouse-go/v2 v2.9.1 // indirect
134137
github.com/DataDog/zstd v1.4.5 // indirect

0 commit comments

Comments
 (0)