Support custom Azure publish endpoint

This commit is contained in:
Chuan Liu
2022-04-21 17:04:15 -07:00
committed by Benj Fassbind
parent d955b06f03
commit 152538ccc1
8 changed files with 45 additions and 11 deletions
+1
View File
@@ -82,6 +82,7 @@ type AzurePublishRoot struct {
AccountKey string `json:"accountKey"`
Container string `json:"container"`
Prefix string `json:"prefix"`
Endpoint string `json:"endpoint"`
}
// Config is configuration for aptly, shared by all modules
+2 -1
View File
@@ -124,7 +124,8 @@ func (s *ConfigSuite) TestSaveConfig(c *C) {
" \"accountName\": \"\",\n"+
" \"accountKey\": \"\",\n"+
" \"container\": \"repo\",\n"+
" \"prefix\": \"\"\n"+
" \"prefix\": \"\",\n"+
" \"endpoint\": \"\"\n"+
" }\n"+
" },\n"+
" \"AsyncAPI\": false,\n"+