test/koji: always build the latest RHEL
We use the koji API to build RHEL nightlies, therefore we should build only development versions in the testsuite. Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
fbb091c8c8
commit
aff680542d
1 changed files with 5 additions and 0 deletions
|
|
@ -44,6 +44,11 @@ koji --server=http://localhost:8080/kojihub --user=osbuild --password=osbuildpas
|
|||
greenprint "Creating Koji task"
|
||||
koji --server=http://localhost:8080/kojihub --user kojiadmin --password kojipass --authtype=password make-task image
|
||||
|
||||
# Always build the latest RHEL - that suits the koji API usecase the most.
|
||||
if [[ "$DISTRO_CODE" == rhel-8* ]]; then
|
||||
DISTRO_CODE=rhel-85
|
||||
fi
|
||||
|
||||
greenprint "Pushing compose to Koji"
|
||||
sudo /usr/libexec/osbuild-composer-test/koji-compose.py "$DISTRO_CODE" "${ARCH}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue