tests/api: custom repository tests

- remove `custom-repos.sh` integratoin test
- add custom repositories check to `api` tests for supported
  images
- verify custom repositores are added to /etc/yum.repos.d
- verify gpg key is saved to /etc/pki/rpm-gpg (for inline keys)
This commit is contained in:
Gianluca Zuccarelli 2023-02-28 18:08:49 +00:00 committed by Gianluca Zuccarelli
parent fb63d7ad9a
commit 1c25d2792c
8 changed files with 68 additions and 212 deletions

View file

@ -63,7 +63,7 @@ function createReqFile() {
"name": "user2",
"key": "$(cat "${WORKDIR}/usertest.pub")"
}
]${SUBSCRIPTION_BLOCK}${DIR_FILES_CUSTOMIZATION_BLOCK}
]${SUBSCRIPTION_BLOCK}${DIR_FILES_CUSTOMIZATION_BLOCK}${REPOSITORY_CUSTOMIZATION_BLOCK}
},
"image_request": {
"architecture": "$ARCH",