test: install koji-compose.py

And use it from its installed location in test/cmd/koji.sh.
This commit is contained in:
Lars Karlitski 2020-10-15 00:38:00 +02:00 committed by Ondřej Budai
parent 6badebef4f
commit ce0f99c1be
2 changed files with 3 additions and 1 deletions

View file

@ -60,7 +60,7 @@ greenprint "Creating Koji task"
koji --server=http://localhost:8080/kojihub --user kojiadmin --password kojipass --authtype=password make-task image
greenprint "Pushing compose to Koji"
sudo ./tools/koji-compose.py "${ID}-${VERSION_ID%.*}"
sudo /usr/libexec/osbuild-composer/koji-compose.py "${ID}-${VERSION_ID%.*}"
greenprint "Show Koji task"
koji --server=http://localhost:8080/kojihub taskinfo 1