internal/cloudapi: expose custom repos
Expose the custom repository customizations for the cloudapi.
This commit is contained in:
parent
e313a76103
commit
fb63d7ad9a
5 changed files with 273 additions and 129 deletions
|
|
@ -77,10 +77,11 @@ func TestCollectRepos(t *testing.T) {
|
|||
payloadPkgSets := []string{"blueprint"}
|
||||
|
||||
repos, err := convertRepos(irRepos, customRepos, payloadPkgSets)
|
||||
assert.NoError(err)
|
||||
|
||||
// check lengths
|
||||
assert.NoError(err)
|
||||
assert.Equal(repos, expectedRepos)
|
||||
assert.Equal(expectedRepos, repos)
|
||||
}
|
||||
|
||||
func TestRepoConfigConversion(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue