publish: check if storage exists

This commit is contained in:
André Roth
2026-06-18 13:36:17 +02:00
parent 29e643cdf6
commit dd85493b1a
14 changed files with 94 additions and 70 deletions
+2 -2
View File
@@ -176,10 +176,10 @@ type FileSystemPublishRoot struct {
type JFrogPublishRoot struct {
Repository string `json:"repository" yaml:"repository"`
Url string `json:"url" yaml:"url"`
URL string `json:"url" yaml:"url"`
User string `json:"user" yaml:"user"`
Password string `json:"password" yaml:"password"`
ApiKey string `json:"apiKey" yaml:"api_key"`
APIKey string `json:"apiKey" yaml:"api_key"`
AccessToken string `json:"accessToken" yaml:"access_token"`
Prefix string `json:"prefix" yaml:"prefix"`
PlusWorkaround bool `json:"plusWorkaround" yaml:"plus_workaround"`
+1 -1
View File
@@ -47,7 +47,7 @@ func (s *ConfigSuite) TestSaveConfig(c *C) {
s.config.JFrogPublishRoots = map[string]JFrogPublishRoot{"test": {
Repository: "repo",
Url: "jfrog.example.com"}}
URL: "jfrog.example.com"}}
s.config.S3PublishRoots = map[string]S3PublishRoot{"test": {
Region: "us-east-1",