You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tests depend on some default Google cloud config being present.
When I run this on a laptop or inside a Docker build image without google credentials, I get this:
• Failure [0.225 seconds]
Controller #NewCredentialsController when a duplicate credential exists [It] returns an error
/Users/explorer/git/github/homedepot/go-clouddriver/internal/artifact/controller_test.go:96
Expected
<string>: dialing: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information.
to have prefix
<string>: duplicate artifact credential listed: helm-test
/Users/explorer/git/github/homedepot/go-clouddriver/internal/artifact/controller_test.go:98
The full list of errors:
Summarizing 14 Failures:
[Fail] Controller #NewCredentialsController when a duplicate credential exists [It] returns an error
/Users/explorer/git/github/homedepot/go-clouddriver/internal/artifact/controller_test.go:98
[Fail] Controller #NewCredentialsController when it succeeds [It] succeeds
/Users/explorer/git/github/homedepot/go-clouddriver/internal/artifact/controller_test.go:204
[Fail] Controller #ListArtifactCredentialsNamesAndTypes [BeforeEach] when it succeeds succeeds
/Users/explorer/git/github/homedepot/go-clouddriver/internal/artifact/controller_test.go:214
[Fail] Controller #GCSClientForAccountName [BeforeEach] when the account name does not exist in the cache returns an error
/Users/explorer/git/github/homedepot/go-clouddriver/internal/artifact/controller_test.go:242
[Fail] Controller #GCSClientForAccountName [BeforeEach] when it succeeds succeeds
/Users/explorer/git/github/homedepot/go-clouddriver/internal/artifact/controller_test.go:242
[Fail] Controller #GitClientForAccountName [BeforeEach] when the account name does not exist in the cache returns an error
/Users/explorer/git/github/homedepot/go-clouddriver/internal/artifact/controller_test.go:277
[Fail] Controller #GitClientForAccountName [BeforeEach] when it succeeds succeeds
/Users/explorer/git/github/homedepot/go-clouddriver/internal/artifact/controller_test.go:277
[Fail] Controller #GitRepoClientForAccountName [BeforeEach] when the account name does not exist in the cache returns an error
/Users/explorer/git/github/homedepot/go-clouddriver/internal/artifact/controller_test.go:312
[Fail] Controller #GitRepoClientForAccountName [BeforeEach] when the account requires token authorization succeeds
/Users/explorer/git/github/homedepot/go-clouddriver/internal/artifact/controller_test.go:312
[Fail] Controller #GitRepoClientForAccountName [BeforeEach] when it succeeds succeeds
/Users/explorer/git/github/homedepot/go-clouddriver/internal/artifact/controller_test.go:312
[Fail] Controller #HelmClientForAccountName [BeforeEach] when the account name does not exist in the cache returns an error
/Users/explorer/git/github/homedepot/go-clouddriver/internal/artifact/controller_test.go:358
[Fail] Controller #HelmClientForAccountName [BeforeEach] when it succeeds succeeds
/Users/explorer/git/github/homedepot/go-clouddriver/internal/artifact/controller_test.go:358
[Fail] Controller #HTTPClientForAccountName [BeforeEach] when the account name does not exist in the cache returns an error
/Users/explorer/git/github/homedepot/go-clouddriver/internal/artifact/controller_test.go:393
[Fail] Controller #HTTPClientForAccountName [BeforeEach] when it succeeds succeeds
/Users/explorer/git/github/homedepot/go-clouddriver/internal/artifact/controller_test.go:393
The text was updated successfully, but these errors were encountered:
Tests depend on some default Google cloud config being present.
When I run this on a laptop or inside a Docker build image without google credentials, I get this:
The full list of errors:
The text was updated successfully, but these errors were encountered: