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

@ -920,6 +920,14 @@ func TestComposeCustomizations(t *testing.T) {
"ignore_ssl": false,
"gpg_key": "some-gpg-key"
}],
"custom_repositories": [{
"name": "hello",
"id": "hello",
"baseurl": [ "http://hello.com" ],
"gpg_key": [ "somekey" ],
"check_gpg": true,
"enabled": true
}],
"services": {
"enabled": [
"nftables"