feat(HMS-3341): pass module_hotfixes flag to compose request
This commit is contained in:
parent
a04835c5a2
commit
627f953dfc
4 changed files with 77 additions and 0 deletions
|
|
@ -114,6 +114,10 @@ const convertSchemaToIBPayloadRepo = (repo) => {
|
|||
rhsm: false,
|
||||
check_gpg: false,
|
||||
};
|
||||
// only include the flag if enabled
|
||||
if (repo.module_hotfixes) {
|
||||
imageBuilderRepo.module_hotfixes = repo.module_hotfixes;
|
||||
}
|
||||
if (repo.gpg_key) {
|
||||
imageBuilderRepo.gpgkey = repo.gpg_key;
|
||||
imageBuilderRepo.check_gpg = true;
|
||||
|
|
@ -131,6 +135,10 @@ const convertSchemaToIBCustomRepo = (repo) => {
|
|||
baseurl: [repo.url],
|
||||
check_gpg: false,
|
||||
};
|
||||
// only include the flag if enabled
|
||||
if (repo.module_hotfixes) {
|
||||
imageBuilderRepo.module_hotfixes = repo.module_hotfixes;
|
||||
}
|
||||
if (repo.gpg_key) {
|
||||
imageBuilderRepo.gpgkey = [repo.gpg_key];
|
||||
imageBuilderRepo.check_gpg = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue