test/koji: remove the old code for testing koji API

Koji API is no more, let's drop the test and rename koji-compose-v2.py to
koji-compose.py.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2022-07-12 11:58:50 +02:00 committed by Ondřej Budai
parent e779562f3c
commit 0adbce3606
4 changed files with 20 additions and 137 deletions

View file

@ -56,13 +56,8 @@ elif [[ "$DISTRO_CODE" == rhel-9* ]]; then
DISTRO_CODE=rhel-91
fi
if [ "${COMPOSER_API:=true}" == "true" ]; then
greenprint "Pushing compose to Koji (/api/image-builder-comoser/v2/"
sudo /usr/libexec/osbuild-composer-test/koji-compose-v2.py "$DISTRO_CODE" "${ARCH}"
else
greenprint "Pushing compose to Koji (/api/comoser-koji/v1/"
sudo /usr/libexec/osbuild-composer-test/koji-compose.py "$DISTRO_CODE" "${ARCH}"
fi
greenprint "Pushing compose to Koji (/api/image-builder-comoser/v2/"
sudo /usr/libexec/osbuild-composer-test/koji-compose.py "$DISTRO_CODE" "${ARCH}"
greenprint "Show Koji task"
koji --server=http://localhost:8080/kojihub taskinfo 1