File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 20
20
" Vue.volar" ,
21
21
" ms-azuretools.vscode-docker" ,
22
22
" zixuanchen.vitest-explorer" ,
23
- " alexcvzz.vscode-sqlite"
23
+ " alexcvzz.vscode-sqlite" ,
24
+ " Azurite.azurite"
24
25
]
25
26
}
26
27
},
Original file line number Diff line number Diff line change @@ -121,6 +121,10 @@ jobs:
121
121
MINIO_SECRET_KEY : 12345678
122
122
ports :
123
123
- " 9000:9000"
124
+ azurite :
125
+ image : mcr.microsoft.com/azure-storage/azurite
126
+ ports :
127
+ - " 10000:10000"
124
128
steps :
125
129
- uses : actions/checkout@v3
126
130
- uses : actions/setup-go@v4
Original file line number Diff line number Diff line change @@ -17,9 +17,11 @@ func TestAzureBlobStorageIterator(t *testing.T) {
17
17
}
18
18
testStorageIterator (t , setting .AzureBlobStorageType , & setting.Storage {
19
19
AzureBlobConfig : setting.AzureBlobStorageConfig {
20
- Endpoint : "https://.blob.core.windows.net/" ,
21
- AccountName : "" ,
22
- AccountKey : "" ,
20
+ // https://learn.microsoft.com/ja-jp/azure/storage/common/storage-use-azurite?tabs=visual-studio-code#ip-style-url
21
+ Endpoint : "http://127.0.0.1:10000/devstoreaccount1/" ,
22
+ // https://learn.microsoft.com/azure/storage/common/storage-use-azurite?tabs=visual-studio-code#well-known-storage-account-and-key
23
+ AccountName : "devstoreaccount1" ,
24
+ AccountKey : "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==" ,
23
25
Container : "test" ,
24
26
},
25
27
})
You can’t perform that action at this time.
0 commit comments