internal/cloudapi: expose custom repos

Expose the custom repository customizations for
the cloudapi.
This commit is contained in:
Gianluca Zuccarelli 2023-02-21 20:23:01 +00:00 committed by Gianluca Zuccarelli
parent e313a76103
commit fb63d7ad9a
5 changed files with 273 additions and 129 deletions

View file

@ -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) {